aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/readline/darwin.patch
blob: 7085a9d83cf30766c47835dda2286ddfc0b6bb30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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'