configure: repair for --enable-embedfw

`-S` needed for `strip` with some(?) versions of the Mac build tools.
This commit is contained in:
Matthew Flatt 2019-11-28 16:27:56 -07:00
parent 8a6a34674a
commit 338955046d
4 changed files with 9 additions and 0 deletions

View File

@ -2,6 +2,7 @@ show_explicitly_disabled "${enable_mac64}" "64-bit Mac OS"
show_explicitly_enabled "${enable_libfw}" "Frameworks-to-system"
show_explicitly_enabled "${enable_userfw}" "Frameworks-to-user"
show_explicitly_enabled "${enable_embedfw}" "embedded frameworks"
if test "${enable_sdk}" != "" ; then
if test "${enable_sdk5}" != "" ; then

View File

@ -3280,6 +3280,7 @@ show_explicitly_disabled "${enable_mac64}" "64-bit Mac OS"
show_explicitly_enabled "${enable_libfw}" "Frameworks-to-system"
show_explicitly_enabled "${enable_userfw}" "Frameworks-to-user"
show_explicitly_enabled "${enable_embedfw}" "embedded frameworks"
if test "${enable_sdk}" != "" ; then
if test "${enable_sdk5}" != "" ; then
@ -5085,6 +5086,9 @@ $as_echo "#define HAVE_STDINT_H 1" >>confdefs.h
FRAMEWORK_PREFIX='$(FRAMEWORK_REL_PREFIX)'
fi
fi
if test "${enable_embedfw}" = "yes" ; then
strip_needs_dash_s=yes
fi
else
PREFLAGS="$PREFLAGS -DXONX "
LIBS="$LIBS -framework CoreFoundation"

View File

@ -2781,6 +2781,7 @@ show_explicitly_disabled "${enable_mac64}" "64-bit Mac OS"
show_explicitly_enabled "${enable_libfw}" "Frameworks-to-system"
show_explicitly_enabled "${enable_userfw}" "Frameworks-to-user"
show_explicitly_enabled "${enable_embedfw}" "embedded frameworks"
if test "${enable_sdk}" != "" ; then
if test "${enable_sdk5}" != "" ; then

View File

@ -753,6 +753,9 @@ case "$host_os" in
FRAMEWORK_PREFIX='$(FRAMEWORK_REL_PREFIX)'
fi
fi
if test "${enable_embedfw}" = "yes" ; then
strip_needs_dash_s=yes
fi
else
PREFLAGS="$PREFLAGS -DXONX "
LIBS="$LIBS -framework CoreFoundation"