2018-03-19 15:51:18 +01:00
|
|
|
+++ b/platform/x11/detect.py
|
2019-03-21 11:08:54 +01:00
|
|
|
@@ -175,6 +175,11 @@ def configure(env):
|
|
|
|
env.ParseConfig('pkg-config xrender --cflags --libs')
|
|
|
|
env.ParseConfig('pkg-config xi --cflags --libs')
|
|
|
|
|
2018-02-14 18:42:48 +01:00
|
|
|
+ env.ParseConfig('pkg-config xext --cflags --libs')
|
|
|
|
+ env.ParseConfig('pkg-config xfixes --cflags --libs')
|
2017-01-05 20:44:25 +01:00
|
|
|
+ env.ParseConfig('pkg-config glu --cflags --libs')
|
|
|
|
+ env.ParseConfig('pkg-config zlib --cflags --libs')
|
2019-03-21 11:08:54 +01:00
|
|
|
+
|
2018-03-19 15:51:18 +01:00
|
|
|
if (env['touch']):
|
2019-03-21 11:08:54 +01:00
|
|
|
env.Append(CPPFLAGS=['-DTOUCH_ENABLED'])
|
|
|
|
|
|
|
|
@@ -264,7 +269,7 @@ def configure(env):
|
|
|
|
print("Enabling ALSA")
|
|
|
|
env.Append(CPPFLAGS=["-DALSA_ENABLED", "-DALSAMIDI_ENABLED"])
|
|
|
|
# Don't parse --cflags, we don't need to add /usr/include/alsa to include path
|
|
|
|
- env.ParseConfig('pkg-config alsa --libs')
|
|
|
|
+ env.ParseConfig('pkg-config alsa --cflags --libs')
|
|
|
|
else:
|
|
|
|
print("ALSA libraries not found, disabling driver")
|
|
|
|
|