Blob Blame History Raw
diff -Naur audacious-plugins-3.9-unbundled-adplug/src/adplug/Makefile audacious-plugins-3.9-unbundled-adplug-makefile/src/adplug/Makefile
--- audacious-plugins-3.9-unbundled-adplug/src/adplug/Makefile	2018-01-25 13:49:54.505875596 +0100
+++ audacious-plugins-3.9-unbundled-adplug-makefile/src/adplug/Makefile	2018-01-25 14:36:23.593354921 +0100
@@ -11,5 +11,5 @@
 CFLAGS += ${PLUGIN_CFLAGS}
 # FIXME: Turning off warnings for now; this code is awful
 CXXFLAGS += ${PLUGIN_CFLAGS} -Wno-sign-compare -Wno-shift-negative-value
-CPPFLAGS += ${PLUGIN_CPPFLAGS} ${ADLIB_CFLAGS} -I../..
-LIBS += ${ADLIB_LIBS}
+CPPFLAGS += ${PLUGIN_CPPFLAGS} ${ADLIB_CFLAGS} -I../.. `pkg-config --cflags adplug`
+LIBS += ${ADLIB_LIBS} `pkg-config --libs adplug`