summaryrefslogtreecommitdiff
path: root/data/openssl/armnm.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/openssl/armnm.diff')
-rw-r--r--data/openssl/armnm.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/data/openssl/armnm.diff b/data/openssl/armnm.diff
new file mode 100644
index 000000000..d6fed48e6
--- /dev/null
+++ b/data/openssl/armnm.diff
@@ -0,0 +1,12 @@
+diff -ru openssl-0.9.8g/Makefile.shared openssl-0.9.8g+iPhone/Makefile.shared
+--- openssl-0.9.8g/Makefile.shared 2007-09-16 14:11:51.000000000 +0000
++++ openssl-0.9.8g+iPhone/Makefile.shared 2007-12-30 04:20:19.000000000 +0000
+@@ -101,7 +101,7 @@
+ LIBDEPS="$${LIBDEPS:-$(LIBDEPS)}"; \
+ SHAREDCMD="$${SHAREDCMD:-$(CC)}"; \
+ SHAREDFLAGS="$${SHAREDFLAGS:-$(CFLAGS) $(SHARED_LDFLAGS)}"; \
+- nm -Pg $$SHOBJECTS | grep ' [BDT] ' | cut -f1 -d' ' > lib$(LIBNAME).exp; \
++ arm-apple-darwin-nm -Pg $$SHOBJECTS | grep ' [BDT] ' | cut -f1 -d' ' > lib$(LIBNAME).exp; \
+ LIBPATH=`for x in $$LIBDEPS; do if echo $$x | grep '^ *-L' > /dev/null 2>&1; then echo $$x | sed -e 's/^ *-L//'; fi; done | uniq`; \
+ LIBPATH=`echo $$LIBPATH | sed -e 's/ /:/g'`; \
+ LD_LIBRARY_PATH=$$LIBPATH:$$LD_LIBRARY_PATH \