aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/readline/darwin.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/readline/darwin.patch')
-rw-r--r--recipes/readline/darwin.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/readline/darwin.patch b/recipes/readline/darwin.patch
new file mode 100644
index 0000000000..7085a9d83c
--- /dev/null
+++ b/recipes/readline/darwin.patch
@@ -0,0 +1,20 @@
+--- readline/support/shobj-conf.old 2010-10-20 12:01:58.000000000 -0700
++++ readline/support/shobj-conf 2010-10-20 12:02:36.000000000 -0700
+@@ -142,7 +142,7 @@
+ ;;
+
+ # Darwin/MacOS X
+-darwin8*)
++darwin|darwin[89]*)
+ SHOBJ_STATUS=supported
+ SHLIB_STATUS=supported
+
+@@ -171,7 +171,7 @@
+ SHLIB_LIBSUFF='dylib'
+
+ case "${host_os}" in
+- darwin[78]*) SHOBJ_LDFLAGS=''
++ darwin|darwin[789]*) 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'