summaryrefslogtreecommitdiffstats
path: root/unix/configure.ac
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2021-01-03 00:55:06 (GMT)
committerdgp <dgp@users.sourceforge.net>2021-01-03 00:55:06 (GMT)
commitb5906c3d3ab369dd15e41bcf7ad33de80a544981 (patch)
tree2d8d06f72d6aba750aefddd5f989d3c1b0598f27 /unix/configure.ac
parent1d135893e5ddb0fa3ccd8aaaa675974fd2ca2a88 (diff)
parent1d4ef1692985233c8c7851ab76d90eea03008c1d (diff)
downloadtk-b5906c3d3ab369dd15e41bcf7ad33de80a544981.zip
tk-b5906c3d3ab369dd15e41bcf7ad33de80a544981.tar.gz
tk-b5906c3d3ab369dd15e41bcf7ad33de80a544981.tar.bz2
merge 8.6
Diffstat (limited to 'unix/configure.ac')
-rw-r--r--unix/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/unix/configure.ac b/unix/configure.ac
index fef6777..6aa0972 100644
--- a/unix/configure.ac
+++ b/unix/configure.ac
@@ -596,6 +596,9 @@ if test "`uname -s`" = "Darwin" ; then
TK_SHLIB_LD_EXTRAS="${TK_SHLIB_LD_EXTRAS}"' -sectcreate __TEXT __info_plist Tk-Info.plist'
EXTRA_WISH_LIBS='-sectcreate __TEXT __info_plist Wish-Info.plist'
EXTRA_WISH_LIBS=${EXTRA_WISH_LIBS}' -sectcreate __TEXT __credits_html Credits.html'
+ if test "${SHARED_BUILD}" = "0"; then
+ EXTRA_WISH_LIBS=${EXTRA_WISH_LIBS}' -ObjC'
+ fi
EXTRA_APP_CC_SWITCHES="${EXTRA_APP_CC_SWITCHES}"' -mdynamic-no-pic'
AC_CONFIG_FILES([Tk-Info.plist:../macosx/Tk-Info.plist.in Wish-Info.plist:../macosx/Wish-Info.plist.in Credits.html:../macosx/Credits.html.in])
for l in ${LOCALES}; do CFBUNDLELOCALIZATIONS="${CFBUNDLELOCALIZATIONS}<string>$l</string>"; done