summaryrefslogtreecommitdiff
path: root/data/readline/archarm.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-01-01 05:58:43 +0000
committerJay Freeman <saurik@saurik.com>2008-01-01 05:58:43 +0000
commitea2670c18699e514ee1d65dfd35ad22c296a74e7 (patch)
tree6826a5266d78c22210c194772a8daed06ef0a19c /data/readline/archarm.diff
parenta45e85d54e8df7a333946cc52fec519fc6aa4d87 (diff)
Initial commit.
git-svn-id: http://svn.telesphoreo.org/trunk@2 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/readline/archarm.diff')
-rw-r--r--data/readline/archarm.diff49
1 files changed, 49 insertions, 0 deletions
diff --git a/data/readline/archarm.diff b/data/readline/archarm.diff
new file mode 100644
index 000000000..40d3a909f
--- /dev/null
+++ b/data/readline/archarm.diff
@@ -0,0 +1,49 @@
+diff -ru readline-5.2/support/shobj-conf readline-5.2+iPhone/support/shobj-conf
+--- readline-5.2/support/shobj-conf 2006-04-11 13:15:43.000000000 +0000
++++ readline-5.2+iPhone/support/shobj-conf 2007-12-28 14:22:45.000000000 +0000
+@@ -142,42 +142,19 @@
+ ;;
+
+ # Darwin/MacOS X
+-darwin8*)
++darwin*|macosx*)
+ SHOBJ_STATUS=supported
+ SHLIB_STATUS=supported
+
+ SHOBJ_CFLAGS='-fno-common'
+
+- SHOBJ_LD='MACOSX_DEPLOYMENT_TARGET=10.3 ${CC}'
+-
+- SHLIB_LIBVERSION='$(SHLIB_MAJOR)$(SHLIB_MINOR).$(SHLIB_LIBSUFF)'
+- SHLIB_LIBSUFF='dylib'
+-
+- SHOBJ_LDFLAGS='-undefined dynamic_lookup'
+- SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
+-
+- SHLIB_LIBS='-lncurses' # see if -lcurses works on MacOS X 10.1
+- ;;
+-
+-darwin*|macosx*)
+- SHOBJ_STATUS=unsupported
+- SHLIB_STATUS=supported
+-
+- SHOBJ_CFLAGS='-fno-common'
+-
+ SHOBJ_LD='${CC}'
+
+ SHLIB_LIBVERSION='$(SHLIB_MAJOR)$(SHLIB_MINOR).$(SHLIB_LIBSUFF)'
+ SHLIB_LIBSUFF='dylib'
+
+- case "${host_os}" in
+- darwin[78]*) SHOBJ_LDFLAGS=''
+- SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
+- ;;
+- *) SHOBJ_LDFLAGS='-dynamic'
+- SHLIB_XLDFLAGS='-arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
+- ;;
+- esac
++ SHOBJ_LDFLAGS='-undefined dynamic_lookup'
++ SHLIB_XLDFLAGS='-dynamiclib -arch_only arm -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
+
+ SHLIB_LIBS='-lncurses' # see if -lcurses works on MacOS X 10.1
+ ;;