diff options
Diffstat (limited to 'Templates/cxxconfigure')
-rwxr-xr-x | Templates/cxxconfigure | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Templates/cxxconfigure b/Templates/cxxconfigure index 06e707d..dd366fb 100755 --- a/Templates/cxxconfigure +++ b/Templates/cxxconfigure @@ -887,6 +887,31 @@ if test $ac_cv_prog_gxx = yes; then fi +CMAKE_CXX_LINK_SHARED=${CXX} +case $system in + HP-UX-*) + CMAKE_CXX_SHLIB_CFLAGS="+Z" + CMAKE_CXX_SHLIB_SUFFIX=".sl" + CMAKE_CXX_MODULE_SUFFIX=".sl" + CMAKE_CXX_SHLIB_BUILD_FLAGS='+Z -Wl,-E -b -L/usr/lib' + CMAKE_CXX_SHLIB_LINK_FLAGS='-Wl,+s' + CMAKE_CXX_MODULE_BUILD_FLAGS='+Z -Wl,-E -b -L/usr/lib' + CMAKE_CXX_MODULE_LINK_FLAGS='-Wl,+s' + CMAKE_CXX_SHLIB_RUNTIME_FLAG='-Wl,+b,' + CMAKE_CXX_SHLIB_RUNTIME_SEP=':' +esac +# CXX versions of shared flags + + + + + + + + + + + # generate output files. # create mkdir files just to make some of the directories @@ -1044,6 +1069,14 @@ s%@CMAKE_NO_ANSI_FOR_SCOPE@%$CMAKE_NO_ANSI_FOR_SCOPE%g s%@CMAKE_AR_TMP@%$CMAKE_AR_TMP%g s%@CMAKE_CXX_AR@%$CMAKE_CXX_AR%g s%@CMAKE_CXX_AR_ARGS@%$CMAKE_CXX_AR_ARGS%g +s%@CMAKE_CXX_LINK_SHARED@%$CMAKE_CXX_LINK_SHARED%g +s%@CMAKE_CXX_SHLIB_CFLAGS@%$CMAKE_CXX_SHLIB_CFLAGS%g +s%@CMAKE_CXX_SHLIB_BUILD_FLAGS@%$CMAKE_CXX_SHLIB_BUILD_FLAGS%g +s%@CMAKE_CXX_SHLIB_LINK_FLAGS@%$CMAKE_CXX_SHLIB_LINK_FLAGS%g +s%@CMAKE_CXX_MODULE_BUILD_FLAGS@%$CMAKE_CXX_MODULE_BUILD_FLAGS%g +s%@CMAKE_CXX_MODULE_LINK_FLAGS@%$CMAKE_CXX_MODULE_LINK_FLAGS%g +s%@CMAKE_CXX_SHLIB_RUNTIME_FLAG@%$CMAKE_CXX_SHLIB_RUNTIME_FLAG%g +s%@CMAKE_CXX_SHLIB_RUNTIME_SEP@%$CMAKE_CXX_SHLIB_RUNTIME_SEP%g s%@CMAKE_COMPILER_IS_GNUCXX@%$CMAKE_COMPILER_IS_GNUCXX%g CEOF |