Under Mac OS X, when building non bundle applications, resources are bundled

both with shared library and applications since the carb resource *must* be
included in the application in order for it to be recognized as a Carbon
application


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2002-10-17 19:20:40 +00:00
parent 90fa618ee0
commit f420fdcfe2
2 changed files with 252 additions and 260 deletions

500
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -2877,14 +2877,10 @@ if test "$wxUSE_MAC" = 1; then
AC_CHECK_PROG(DEREZ, DeRez, DeRez, /Developer/Tools/DeRez)
MACOSX_BUNDLE="bundle"
if test "$wxUSE_SHARED" = "yes"; then
dnl resources are bundled with shared library, not with applications
LIBWXMACRESCOMP="\$(RESCOMP) -t APPL Carbon.r -o \$(BIN_PROGRAM)"
LIBWXMACRESWXCONFIG="${RESCOMP} -t APPL Carbon.r -o"
else
dnl resources are bundled with applications, not with static library
LIBWXMACRESCOMP="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
LIBWXMACRESWXCONFIG="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
fi
dnl resources are bundled both with shared library and applications
dnl since the carb resource *must* be included in the application
LIBWXMACRESCOMP="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
LIBWXMACRESWXCONFIG="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
else
if test "$wxUSE_PM" = 1; then
LIBWXMACRESCOMP="emxbind -ep \$(BIN_PROGRAM)"