summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/KDE3Macros.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/KDE3Macros.cmake b/Modules/KDE3Macros.cmake
index f358cd7..0f2d479 100644
--- a/Modules/KDE3Macros.cmake
+++ b/Modules/KDE3Macros.cmake
@@ -322,7 +322,11 @@ MACRO(KDE3_INSTALL_LIBTOOL_FILE _target)
FILE(APPEND ${_laname} "# The name that we can dlopen(3).\n")
FILE(APPEND ${_laname} "dlname='${_soname}'\n")
FILE(APPEND ${_laname} "# Names of this library\n")
- FILE(APPEND ${_laname} "library_names='${_soname} ${_soname} ${_soname}'\n")
+ IF(CYGWIN)
+ FILE(APPEND ${_laname} "library_names='${_soname}'\n")
+ ELSE(CYGWIN)
+ FILE(APPEND ${_laname} "library_names='${_soname} ${_soname} ${_soname}'\n")
+ ENDIF(CYGWIN)
FILE(APPEND ${_laname} "# The name of the static archive\n")
FILE(APPEND ${_laname} "old_library=''\n")
FILE(APPEND ${_laname} "# Libraries that this one depends upon.\n")