summaryrefslogtreecommitdiff
path: root/pbx/Makefile
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-03-27 22:39:17 +0000
committerMark Spencer <markster@digium.com>2005-03-27 22:39:17 +0000
commita0a2592025a299cba579a3159a240ec11983333c (patch)
tree967c042d6622322a809a26724fb2af4e57684e66 /pbx/Makefile
parentb0b916c16c0e2bdd2e46b3b229e92260519a50fd (diff)
Fix cross compiling (bug #3868)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/Makefile')
-rwxr-xr-xpbx/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/pbx/Makefile b/pbx/Makefile
index 28ca0e0b4..c8a348321 100755
--- a/pbx/Makefile
+++ b/pbx/Makefile
@@ -16,7 +16,7 @@
PBX_LIBS=pbx_config.so pbx_spool.so pbx_dundi.so pbx_loopback.so pbx_realtime.so
# Add GTK console if appropriate
-#PBX_LIBS+=$(shell gtk-config --cflags >/dev/null 2>/dev/null && echo "pbx_gtkconsole.so")
+#PBX_LIBS+=$(shell $(CROSS_COMPILE_BIN)gtk-config --cflags >/dev/null 2>/dev/null && echo "pbx_gtkconsole.so")
# Add KDE Console if appropriate
#PBX_LIBS+=$(shell [ "$$QTDIR" != "" ] && echo "pbx_kdeconsole.so")
@@ -25,9 +25,8 @@ PBX_LIBS=pbx_config.so pbx_spool.so pbx_dundi.so pbx_loopback.so pbx_realtime.so
#
#PBX_LIBS+=pbx_wilcalu.so
-GTK_FLAGS=`gtk-config --cflags gthread`
-GTK_LIBS=`gtk-config --libs gthread`
-#CXX=egcs
+GTK_FLAGS=`${CROSS_COMPILE_BIN}gtk-config --cflags gthread`
+GTK_LIBS=`${CROSS_COMPILE_BIN}gtk-config --libs gthread`
MOC=$(QTDIR)/bin/moc
KDE_FLAGS=-I$(KDEDIR)/include -I$(KDEDIR)/include/kde -I$(QTDIR)/include
KDE_LIBS=-L$(KDEDIR)/lib -L$(QTDIR)/lib -lqt -lkdecore -lkdeui