summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-05-24 23:55:57 +0300
committerTor Lillqvist <tml@iki.fi>2011-05-25 02:16:35 +0300
commitfc84d60d32ba7369ed8df18c794d92ce8c12b617 (patch)
tree47cdd7de79fe2473f82a259fc693593ef305e65e
parent0a0579555f0136f40a2f4d8bbdde7b934ad8c5cd (diff)
Define NO_DL_FUNCTIONS on iOS
-rw-r--r--sal/osl/unx/makefile.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/osl/unx/makefile.mk b/sal/osl/unx/makefile.mk
index 92e701430..432dc6441 100644
--- a/sal/osl/unx/makefile.mk
+++ b/sal/osl/unx/makefile.mk
@@ -134,6 +134,10 @@ APP1STDLIBS+=-lC
CFLAGS+=-DSAL_ENABLE_CRASH_REPORT
.ENDIF
+.IF "$(OS)" == "IOS"
+CFLAGS+=-DNO_DL_FUNCTIONS
+.ENDIF
+
.INCLUDE : target.mk
.IF "$(OS)$(CPU)"=="SOLARISU" || "$(OS)$(CPU)"=="SOLARISS" || "$(OS)$(CPU)"=="NETBSDS" || "$(OS)$(CPU)"=="LINUXS"