Check-in [e1a8ff771d]
Overview
Comment:Added Mac OS X support for soname
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e1a8ff771d8d016e1078f91a62738466f89ed994
User & Date: rkeene on 2014-11-24 18:56:36
Other Links: manifest | tags
Context
2014-11-24
18:59
Updated to move setting of soname to common shobj.m4 check-in: 688a565bf6 user: rkeene tags: trunk
18:56
Added Mac OS X support for soname check-in: e1a8ff771d user: rkeene tags: trunk
18:55
Updated to use shared object extension correctly in soname check-in: d516625f90 user: rkeene tags: trunk
Changes

Modified aclocal/libconfig.m4 from [35c3537925] to [4d7e795efc].

52
53
54
55
56
57
58
59

60
61
62
63
64
65
66
52
53
54
55
56
57
58

59
60
61
62
63
64
65
66







-
+







])

AC_DEFUN(LC_SET_SONAME, [
	SAVE_LDFLAGS="$LDFLAGS"

	AC_MSG_CHECKING([how to specify soname])

	for try in "-Wl,--soname,$1" '__fail__'; do
	for try in "-Wl,--soname,$1" "Wl,-install_name,$1" '__fail__'; do
		LDFLAGS="$SAVE_LDFLAGS"

		if test "${try}" = '__fail__'; then
			AC_MSG_RESULT([can't])

			break
		fi