Author: rco
Date: 2008-04-23 07:28:31 +0200 (Wed, 23 Apr 2008)
New Revision: 901

Modified:
   trunk/Makefile.defs
   trunk/core/Makefile
Log:
- some iphone linking fixes...


Modified: trunk/Makefile.defs
===================================================================
--- trunk/Makefile.defs 2008-04-22 13:17:22 UTC (rev 900)
+++ trunk/Makefile.defs 2008-04-23 05:28:31 UTC (rev 901)
@@ -113,8 +113,11 @@
        CPPFLAGS += -DBSD44SOCKETS
 
        # add the DarwinPorts directory
-       CPPFLAGS += -I /opt/local/include
-       LDFLAGS += -L/opt/local/lib
+       ifneq ($(ARCH), iphone)
+             CPPFLAGS += -D__DARWIN_UNIX03
+             CPPFLAGS += -I /opt/local/include
+             LDFLAGS += -L/opt/local/lib
+       endif         
 
        override exclude_modules += binrpcctrl mp3 examples py_sems
 else

Modified: trunk/core/Makefile
===================================================================
--- trunk/core/Makefile 2008-04-22 13:17:22 UTC (rev 900)
+++ trunk/core/Makefile 2008-04-23 05:28:31 UTC (rev 901)
@@ -43,6 +43,10 @@
 
 LDFLAGS += -lstdc++ 
 
+ifeq ($(ARCH),iphone)
+LDFLAGS += -lgcc_eh
+endif
+
 ifdef USE_SPANDSP
 ifdef LIBSPANDSP_STATIC
 LDFLAGS += $(LIBSPANDSP_LDIR)libspandsp.a

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to