]> git.sesse.net Git - mlt/commitdiff
Use pkg-config to include frei0r header directory
authorAlberto Villa <avilla@FreeBSD.org>
Thu, 4 Oct 2012 23:02:27 +0000 (01:02 +0200)
committerAlberto Villa <avilla@FreeBSD.org>
Thu, 4 Oct 2012 23:02:27 +0000 (01:02 +0200)
src/modules/frei0r/configure

index 9c11952f84e8d1e4cf14649bae5e4a589fdc101b..e911ea95de7a4348fee895523bf15d5124e1096c 100755 (executable)
@@ -3,7 +3,7 @@
 if [ "$help" != "1" ]
 then
 
-       echo "#include <frei0r.h> int main(){ f0r_plugin_info_t test; test.name;return 0;}"| $CC $CFLAGS -c -x c -  >/dev/null 2>&1
+       echo "#include <frei0r.h> int main(){ f0r_plugin_info_t test; test.name;return 0;}"| $CC $(pkg-config --cflags frei0r) $CFLAGS -c -x c -  >/dev/null 2>&1
 
        if [ "$?" = "1" ]
        then