]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
use pkg-config to find mono
authorMichael Jerris <mike@jerris.com>
Sat, 4 Oct 2008 20:08:31 +0000 (20:08 +0000)
committerMichael Jerris <mike@jerris.com>
Sat, 4 Oct 2008 20:08:31 +0000 (20:08 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9836 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/languages/mod_managed/Makefile

index de012f25db3de41b63b457426805e771af34c5f0..75c6a908d372a2c25dcbc7477b3cf641c6ecd646 100644 (file)
@@ -1,4 +1,6 @@
-MOD_CFLAGS=-D_REENTRANT -pthread -I/opt/mono-1.9/lib/pkgconfig/../../include/mono-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -lmono\r
+LOCAL_INSERT_CFLAGS= /usr/bin/pkg-config mono --cflags\r
+LOCAL_INSERT_LDFLAGS= /usr/bin/pkg-config mono --libs\r
+#MOD_CFLAGS=-D_REENTRANT -pthread -I/opt/mono-1.9/lib/pkgconfig/../../include/mono-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -lmono\r
 BASE=../../../..\r
 VERBOSE=1\r
 include $(BASE)/build/modmake.rules\r