diff --git a/platform/x11/detect.py b/platform/x11/detect.py index 98c9ddb..0cc2bff 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -255,6 +255,10 @@ def configure(env): env.ParseConfig("pkg-config xrender --cflags --libs") env.ParseConfig("pkg-config xi --cflags --libs") + env.ParseConfig("pkg-config xfixes --cflags --libs") + env.ParseConfig("pkg-config glu --cflags --libs") + env.ParseConfig("pkg-config zlib --cflags --libs") + if env["touch"]: env.Append(CPPDEFINES=["TOUCH_ENABLED"]) @@ -359,7 +363,7 @@ def configure(env): if os.system("pkg-config --exists alsa") == 0: # 0 means found env["alsa"] = True env.Append(CPPDEFINES=["ALSA_ENABLED", "ALSAMIDI_ENABLED"]) - env.ParseConfig("pkg-config alsa --cflags") # Only cflags, we dlopen the library. + env.ParseConfig("pkg-config alsa --cflags --libs") else: print("Warning: ALSA libraries not found. Disabling the ALSA audio driver.") @@ -375,7 +379,7 @@ def configure(env): if env["udev"]: if os.system("pkg-config --exists libudev") == 0: # 0 means found env.Append(CPPDEFINES=["UDEV_ENABLED"]) - env.ParseConfig("pkg-config libudev --cflags") # Only cflags, we dlopen the library. + env.ParseConfig("pkg-config libudev --cflags --libs") else: print("Warning: libudev development libraries not found. Disabling controller hotplugging support.") else: