diff options
Diffstat (limited to 'Templates/cconfigure.in')
-rw-r--r-- | Templates/cconfigure.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Templates/cconfigure.in b/Templates/cconfigure.in index 1743020..6edc469 100644 --- a/Templates/cconfigure.in +++ b/Templates/cconfigure.in @@ -465,8 +465,11 @@ export CMAKE_MODULE_SUFFIX if test $ac_cv_prog_gcc = yes; then CMAKE_SHLIB_CFLAGS="-fPIC" fi -# if running on cygwin remove -fPIC flag +# if running on cygwin, AIX, or Darwin remove -fPIC flag case $system in + AIX-*) + CMAKE_SHLIB_CFLAGS="" + ;; CYGWIN_NT*) CMAKE_SHLIB_CFLAGS="" ;; |