diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-09-24 20:41:34 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-09-24 20:41:34 +0000 |
commit | ac3ac6c476d0d92a16db0e840af96ba3e43c68a0 (patch) | |
tree | c6918a98de58abd1144cd9002f1a4c3c43dc815c /CMakeLists.txt | |
parent | 9ba7c5f9dfc4a067569e1527285a0067845a3375 (diff) |
Plugins are not shared libraries, so:
1) don't set thei SOVERSION - run-time-loaded modules don't have
an SOVERSION;
2) build them with link mode MODULE, not SHARED, on all
platforms.
(Fixing 1) also fixes the problem with building them as MODULE on OS X.)
svn path=/trunk/; revision=34243
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 14216da406..6c25fbffef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -210,11 +210,7 @@ if(ENABLE_STATIC) set(LINK_MODE_MODULE STATIC) else() set(LINK_MODE_LIB SHARED) - if(APPLE) - set(LINK_MODE_MODULE SHARED) - else() - set(LINK_MODE_MODULE MODULE) - endif() + set(LINK_MODE_MODULE SHARED) endif() # The packagelist is doing some magic: If we add XXX to the packagelist, we |