summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-06-13 18:32:49 +0300
committerTor Lillqvist <tml@iki.fi>2011-06-14 00:36:34 +0300
commit279ee58b5c3014d1d6b7ebf264e60b8340ff15e3 (patch)
tree6fcd4b25f669137352e0ea141144228569d998d1
parentf27c8cf3c9ea1fd794cc8f64f47ab70cf192b101 (diff)
Do define SAL_DLLEXTENSION properly for iOS, too
Do it even if it can never be used successfully in an iOS app anyway, as they are not supposed to load dynamic libraries (except system ones).
-rw-r--r--sal/inc/sal/config.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sal/inc/sal/config.h b/sal/inc/sal/config.h
index 9da307a04..fdeaf85b4 100644
--- a/sal/inc/sal/config.h
+++ b/sal/inc/sal/config.h
@@ -97,8 +97,14 @@
#ifdef IOS
#define SAL_UNX
-#define SAL_DLLEXTENSION
+/* SAL_DLLEXTENSION should not really be used on iOS, as iOS apps are
+ * not allowed to load own dynamic libraries.
+ */
+#define SAL_DLLEXTENSION ".dylib"
#define SAL_DLLPREFIX "lib"
+/* This is fairly pointless too, an iOS app consists of a single
+ * executable (plus data files).
+ */
#define SAL_PRGEXTENSION ".bin"
#define SAL_PATHSEPARATOR ':'
#define SAL_PATHDELIMITER '/'