Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 530890 | Differences between
and this patch

Collapse All | Expand All

(-)readline-6.3.orig/support/shobj-conf (-28 / +2 lines)
Lines 180-213 Link Here
180
	SHLIB_LIBVERSION='$(SHLIB_MAJOR)$(SHLIB_MINOR).$(SHLIB_LIBSUFF)'
180
	SHLIB_LIBVERSION='$(SHLIB_MAJOR)$(SHLIB_MINOR).$(SHLIB_LIBSUFF)'
181
	SHLIB_LIBSUFF='dylib'
181
	SHLIB_LIBSUFF='dylib'
182
182
183
	# unused at this time
183
	SHOBJ_LDFLAGS='-dynamiclib -dynamic -undefined dynamic_lookup -arch_only `arch`'
184
	SHLIB_SONAME='$(libdir)/`echo $@ | sed "s:\\..*::"`.$(SHLIB_MAJOR).$(SHLIB_LIBSUFF)'
184
	SHLIB_XLDFLAGS='-dynamiclib -arch_only `arch` -install_name $(libdir)/`basename $@ $(SHLIB_MINOR)$(SHLIB_DOT)$(SHLIB_LIBSUFF)`$(SHLIB_DOT)$(SHLIB_LIBSUFF)  -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR)'
185
186
	case "${host_os}" in
187
	# Darwin versions 1, 5, 6, 7 correspond to Mac OS X 10.0, 10.1, 10.2,
188
	# and 10.3, respectively.
189
	darwin[1-7].*)
190
		SHOBJ_STATUS=unsupported
191
		SHOBJ_LDFLAGS='-dynamic'
192
		SHLIB_XLDFLAGS='-arch_only `/usr/bin/arch` -install_name $(libdir)/`echo $@ | sed "s:\\..*::"`.$(SHLIB_MAJOR).$(SHLIB_LIBSUFF) -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
193
		;;
194
	# Darwin 8 == Mac OS X 10.4; Mac OS X 10.N == Darwin N+4
195
	*)
196
		case "${host_os}" in
197
		darwin[89]*|darwin1[012]*)
198
			SHOBJ_ARCHFLAGS='-arch_only `/usr/bin/arch`'
199
			;;
200
		 *) 	# Mac OS X 10.9 (Mavericks) and later
201
			SHOBJ_ARCHFLAGS=
202
			# for 32 and 64bit universal library
203
			#SHOBJ_ARCHFLAGS='-arch i386 -arch x86_64'
204
			#SHOBJ_CFLAGS=${SHOBJ_CFLAGS}' -arch i386 -arch x86_64'
205
			;;
206
		 esac
207
		 SHOBJ_LDFLAGS="-dynamiclib -dynamic -undefined dynamic_lookup ${SHOBJ_ARCHFLAGS}"
208
		 SHLIB_XLDFLAGS="-dynamiclib ${SHOBJ_ARCHFLAGS}"' -install_name $(libdir)/`echo $@ | sed "s:\\..*::"`.$(SHLIB_MAJOR).$(SHLIB_LIBSUFF) -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
209
		;;
210
	esac
211
185
212
	SHLIB_LIBS='-lncurses'	# see if -lcurses works on MacOS X 10.1 
186
	SHLIB_LIBS='-lncurses'	# see if -lcurses works on MacOS X 10.1 
213
	;;
187
	;;

Return to bug 530890