buildsys  Check-in [b4cda18675]

Overview
Comment:Include the library version in the resulting .dylib.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: b4cda18675d4233854d1d3bceecf697d8ddd165237c1a3d476ed2b124036c89b
User & Date: js on 2010-05-08 14:40:58
Other Links: manifest | tags
Context
2010-05-08
19:27
No need for -flat_namespace and -undefined dynamic_lookup is better. check-in: 4f1e103a44 user: js tags: trunk
14:40
Include the library version in the resulting .dylib. check-in: b4cda18675 user: js tags: trunk
2010-04-18
01:55
Properly delete data dir. check-in: a50fe57783 user: js tags: trunk
Changes

Modified m4/buildsys.m4 from [8507639fdf] to [d0ffab5eb1].

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_os" in
		darwin*)
			AC_MSG_RESULT(Darwin)
			LIB_CPPFLAGS='-DPIC'
			LIB_CFLAGS='-fPIC'
			LIB_LDFLAGS='-dynamiclib -flat_namespace'
			LIB_PREFIX='lib'
			LIB_SUFFIX='.dylib'
			LDFLAGS_RPATH='-Wl,-rpath,${libdir}'
			PLUGIN_CPPFLAGS='-DPIC'
			PLUGIN_CFLAGS='-fPIC'
			PLUGIN_LDFLAGS='-bundle -flat_namespace -undefined suppress'
			PLUGIN_SUFFIX='.impl'







|







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_os" in
		darwin*)
			AC_MSG_RESULT(Darwin)
			LIB_CPPFLAGS='-DPIC'
			LIB_CFLAGS='-fPIC'
			LIB_LDFLAGS='-dynamiclib -flat_namespace -current_version ${LIB_MAJOR}.${LIB_MINOR} -compatibility_version ${LIB_MAJOR}'
			LIB_PREFIX='lib'
			LIB_SUFFIX='.dylib'
			LDFLAGS_RPATH='-Wl,-rpath,${libdir}'
			PLUGIN_CPPFLAGS='-DPIC'
			PLUGIN_CFLAGS='-fPIC'
			PLUGIN_LDFLAGS='-bundle -flat_namespace -undefined suppress'
			PLUGIN_SUFFIX='.impl'