From 906f73d6a57cf2bf2d864951d6efdbb724889814 Mon Sep 17 00:00:00 2001 From: Krzysztof Foltman Date: Fri, 25 Jul 2014 12:32:46 +0100 Subject: [PATCH] Add workaround for buggy Python 3.4 headers. --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index 6904696..acb106a 100755 --- a/setup.py +++ b/setup.py @@ -8,6 +8,8 @@ packages = ['glib-2.0', 'jack', 'fluidsynth', 'libusb-1.0', 'smf', 'sndfile'] eargs = os.popen("pkg-config --cflags %s" % (" ".join(packages)), "r").read().split() eargs.append("-std=c99") +# Workaround for Python3.4 headers +eargs.append("-Wno-error=declaration-after-statement") libs = os.popen("pkg-config --libs %s" % (" ".join(packages)), "r").read().split() libs.append("-luuid") -- 2.11.4.GIT