Differences From Artifact [9e4857b7b5]:
- File m4/buildsys.m4 — part of check-in [6e4a40f731] at 2018-01-21 19:00:25 on branch trunk — Allow BUILDSYS_FRAMEWORK to take a code block (user: js, size: 9863) [annotate] [blame] [check-ins using]
To Artifact [037e222758]:
- File
m4/buildsys.m4
— part of check-in
[72ce4372e0]
at
2018-01-21 21:45:44
on branch trunk
— Use FRAMEWORK_LIBS instead of LIBS for .frameworks
This allows linking the framework against other frameworks rather than
other shared libs. (user: js, size: 9863) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
140 141 142 143 144 145 146 147 148 149 150 151 152 153 | AC_SUBST(PROG_IMPLIB_NEEDED) AC_SUBST(PROG_IMPLIB_LDFLAGS) ]) AC_DEFUN([BUILDSYS_SHARED_LIB], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_MSG_CHECKING(for shared library system) case "$host_os" in darwin*) AC_MSG_RESULT(Darwin) LIB_CFLAGS='-fPIC -DPIC' LIB_LDFLAGS='-dynamiclib -current_version ${LIB_MAJOR}.${LIB_MINOR} -compatibility_version ${LIB_MAJOR}' LIB_LDFLAGS_INSTALL_NAME='-Wl,-install_name,${libdir}/$${out%.dylib}.${LIB_MAJOR}.dylib' LIB_PREFIX='lib' | > | 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 | AC_SUBST(PROG_IMPLIB_NEEDED) AC_SUBST(PROG_IMPLIB_LDFLAGS) ]) AC_DEFUN([BUILDSYS_SHARED_LIB], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_MSG_CHECKING(for shared library system) case "$host_os" in darwin*) AC_MSG_RESULT(Darwin) LIB_CFLAGS='-fPIC -DPIC' LIB_LDFLAGS='-dynamiclib -current_version ${LIB_MAJOR}.${LIB_MINOR} -compatibility_version ${LIB_MAJOR}' LIB_LDFLAGS_INSTALL_NAME='-Wl,-install_name,${libdir}/$${out%.dylib}.${LIB_MAJOR}.dylib' LIB_PREFIX='lib' |
︙ | ︙ | |||
279 280 281 282 283 284 285 | FRAMEWORK_LDFLAGS_INSTALL_NAME='-Wl,-install_name,@executable_path/../Frameworks/$$out/$${out%.framework}' ]) AC_SUBST(FRAMEWORK_LDFLAGS) AC_SUBST(FRAMEWORK_LDFLAGS_INSTALL_NAME) $1 | < | 280 281 282 283 284 285 286 287 288 289 | FRAMEWORK_LDFLAGS_INSTALL_NAME='-Wl,-install_name,@executable_path/../Frameworks/$$out/$${out%.framework}' ]) AC_SUBST(FRAMEWORK_LDFLAGS) AC_SUBST(FRAMEWORK_LDFLAGS_INSTALL_NAME) $1 ;; esac ]) |