ObjFW  Check-in [e05fff3653]

Overview
Comment:Don't reexport libobjc when using ObjFW runtime.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | runtime
Files: files | file ages | folders
SHA3-256: e05fff365386b212491926635a38195a9aef7e00c6ca4e9d002d83f3f5c8fdba
User & Date: js on 2012-04-22 16:12:04
Other Links: branch diff | manifest | tags
Context
2012-04-22
16:18
objfw-config: Include flags for fragile ABI. check-in: 25df622287 user: js tags: runtime
16:12
Don't reexport libobjc when using ObjFW runtime. check-in: e05fff3653 user: js tags: runtime
16:05
Safer way to create the global mutex. check-in: 51b73c821c user: js tags: runtime
Changes

Modified configure.ac from [bc4e640e1c] to [ad8e5eacf0].

212
213
214
215
216
217
218
219
220
221

222
223
224
225
226
227
228
AC_CHECK_FUNC(objc_enumerationMutation, [
	AC_DEFINE(HAVE_OBJC_ENUMERATIONMUTATION, 1,
		[Whether we have objc_enumerationMutation])
])

case "$host_os" in
	darwin*)
		AC_SUBST(REEXPORT_LIBOBJC, ["-Wl,-reexport-lobjc"])
		AC_SUBST(LDFLAGS_REEXPORT, ["-Wl,-reexport-lobjfw"])
		AS_IF([test x"$objc_runtime" = x"Apple runtime"], [

			tmp="-Xarch_x86_64 -Wl,-alias_list,mach_alias_list"
			AC_SUBST(MACH_ALIAS_LIST, $tmp)
		])
		;;
esac

AC_C_BIGENDIAN([







<


>







212
213
214
215
216
217
218

219
220
221
222
223
224
225
226
227
228
AC_CHECK_FUNC(objc_enumerationMutation, [
	AC_DEFINE(HAVE_OBJC_ENUMERATIONMUTATION, 1,
		[Whether we have objc_enumerationMutation])
])

case "$host_os" in
	darwin*)

		AC_SUBST(LDFLAGS_REEXPORT, ["-Wl,-reexport-lobjfw"])
		AS_IF([test x"$objc_runtime" = x"Apple runtime"], [
		       AC_SUBST(REEXPORT_LIBOBJC, ["-Wl,-reexport-lobjc"])
			tmp="-Xarch_x86_64 -Wl,-alias_list,mach_alias_list"
			AC_SUBST(MACH_ALIAS_LIST, $tmp)
		])
		;;
esac

AC_C_BIGENDIAN([