Package: allegro4.4 / 2:4.4.3.1-2

fix_addons_shared_linkage.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Andreas Rönnquist <gusnan@gusnan.se>
Description: Modify CMakeLists to make addon libs build as shared libraries on non-MacOSX platforms too.
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -913,11 +913,7 @@
 option(WANT_LOGG "Enable logg" on)
 option(WANT_JPGALLEG "Enable JPGAlleg" on)
 
-if (BUILD_SHARED_LIBS)
-    set(ADDON_LINKAGE SHARED)
-else()
-    set(ADDON_LINKAGE STATIC)
-endif()
+set(ADDON_LINKAGE SHARED)
 
 if(WANT_FRAMEWORKS)
     set(ADDON_LINKAGE SHARED)