ENH: add support for shared libraries with gcc on AIX
This commit is contained in:
parent
56252e1100
commit
54995b06e3
|
@ -150,6 +150,14 @@ case $system in
|
|||
CMAKE_MODULE_LINK_FLAGS=""
|
||||
CMAKE_SHLIB_RUNTIME_FLAG=""
|
||||
CMAKE_SHLIB_RUNTIME_SEP=""
|
||||
if test $ac_cv_prog_gxx = yes; then
|
||||
CMAKE_SHLIB_BUILD_FLAGS='-shared -Wl,-G'
|
||||
CMAKE_MODULE_BUILD_FLAGS='-shared -Wl,-G'
|
||||
CMAKE_SHLIB_LINK_FLAGS='-Wl,-brtl'
|
||||
CMAKE_MODULE_LINK_FLAGS='-Wl,-brtl'
|
||||
CMAKE_MODULE_SUFFIX=".so"
|
||||
CMAKE_SHLIB_SUFFIX=".so"
|
||||
fi
|
||||
;;
|
||||
Darwin-*)
|
||||
CMAKE_SHLIB_CFLAGS=""
|
||||
|
|
Loading…
Reference in New Issue