[Freeswitch-svn] [commit] r11539 - freeswitch/branches/ctrix/mod_airpe

FreeSWITCH SVN ctrix at freeswitch.org
Wed Jan 28 10:17:30 PST 2009


Author: ctrix
Date: Wed Jan 28 12:17:30 2009
New Revision: 11539

Log:
Multiarch makefile



Modified:
   freeswitch/branches/ctrix/mod_airpe/Makefile

Modified: freeswitch/branches/ctrix/mod_airpe/Makefile
==============================================================================
--- freeswitch/branches/ctrix/mod_airpe/Makefile	(original)
+++ freeswitch/branches/ctrix/mod_airpe/Makefile	Wed Jan 28 12:17:30 2009
@@ -6,12 +6,10 @@
 LOCAL_OBJS=airpe_if_common.o airpe_api.o airpe_apps.o airpe_if_x11.o airpe_if_osx.o airpe_if_win32.o
 LOCAL_SOURCES=airpe_if_common.c airpe_api.c airpe_apps.c airpe_if_x11.c airpe_if_osx.c airpe_if_win32.c
 
-#--------------------------------- LINUX
-#LOCAL_LDFLAGS=-lX11
-
-#--------------------------------- OSX
-#LOCAL_LDFLAGS=-framework CoreFoundation
-LOCAL_LDFLAGS=-framework Skype -framework CoreFoundation -framework Carbon
+LOCAL_INSERT_LDFLAGS=\
+    if test $$osarch = "Darwin" ; then echo "-framework Skype -framework CoreFoundation" ; \
+    else echo "-lX11" ; \
+    fi;
 
 
 include ../../../../build/modmake.rules



More information about the Freeswitch-svn mailing list