buildsys  Check-in [5bc0937e72]

Overview
Comment:Use -undefined suppress only for plugins.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5bc0937e72919d62d8839ba6c8f8f8367ef42d29023d37de6436b8520da4e2f4
User & Date: js on 2009-11-15 00:56:42
Other Links: manifest | tags
Context
2009-11-28
14:56
Fix wrong output in BUILDSYS_SHARED_LIB. check-in: 72b5035ef6 user: js tags: trunk
2009-11-15
00:56
Use -undefined suppress only for plugins. check-in: 5bc0937e72 user: js tags: trunk
2009-11-09
19:36
Don't use -install_name anymore, it's better to use rpath instead. check-in: 32f2d909a6 user: js tags: trunk
Changes

Modified m4/buildsys.m4 from [beafad882f] to [cf5219c868].

53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
	AC_REQUIRE([AC_CANONICAL_HOST])
	AC_MSG_CHECKING(for shared library system)
	case "$host" in
		*-apple-*)
			AC_MSG_RESULT(Mac OS X)
			LIB_CPPFLAGS='-DPIC'
			LIB_CFLAGS='-fPIC'
			LIB_LDFLAGS='-dynamiclib -flat_namespace -undefined suppress'
			LIB_PREFIX='lib'
			LIB_SUFFIX='.dylib'
			PLUGIN_CPPFLAGS='-DPIC'
			PLUGIN_CFLAGS='-fPIC'
			PLUGIN_LDFLAGS='-bundle -flat_namespace -undefined suppress'
			PLUGIN_SUFFIX='.impl'
			RPATH_LDFLAGS='-Wl,-rpath,${libdir}'







|







53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
	AC_REQUIRE([AC_CANONICAL_HOST])
	AC_MSG_CHECKING(for shared library system)
	case "$host" in
		*-apple-*)
			AC_MSG_RESULT(Mac OS X)
			LIB_CPPFLAGS='-DPIC'
			LIB_CFLAGS='-fPIC'
			LIB_LDFLAGS='-dynamiclib -flat_namespace'
			LIB_PREFIX='lib'
			LIB_SUFFIX='.dylib'
			PLUGIN_CPPFLAGS='-DPIC'
			PLUGIN_CFLAGS='-fPIC'
			PLUGIN_LDFLAGS='-bundle -flat_namespace -undefined suppress'
			PLUGIN_SUFFIX='.impl'
			RPATH_LDFLAGS='-Wl,-rpath,${libdir}'