diff options
Diffstat (limited to 'Templates/configure.in')
-rw-r--r-- | Templates/configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Templates/configure.in b/Templates/configure.in index d576ba3..3143a21 100644 --- a/Templates/configure.in +++ b/Templates/configure.in @@ -379,9 +379,9 @@ case $system in CMAKE_SHLIB_RUNTIME_FLAG="-R " CMAKE_SHLIB_RUNTIME_SEP=":" if test "$CC" = "gcc" -o `$CC -v 2>&1 | grep -c gcc` != "0" ; then - CMAKE_SHLIB_BUILD_FLAGS='-Wl,-G' + CMAKE_SHLIB_BUILD_FLAGS='-shared -nostdlib' CMAKE_SHLIB_LINK_FLAGS='' - CMAKE_MODULE_BUILD_FLAGS='-Wl,-G' + CMAKE_MODULE_BUILD_FLAGS='-shared -nostdlib' CMAKE_MODULE_LINK_FLAGS='' CMAKE_SHLIB_RUNTIME_FLAG="-Wl,-R," CMAKE_SHLIB_RUNTIME_SEP=":" |