[AD] [ alleg-Bugs-2971919 ] ADDON_LINKAGE should be set to SHARED for UNIX (Linux) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: noreply@xxxxxxxxxx
- Subject: [AD] [ alleg-Bugs-2971919 ] ADDON_LINKAGE should be set to SHARED for UNIX (Linux)
- From: "SourceForge.net" <noreply@xxxxxxxxxx>
- Date: Sun, 28 Mar 2010 10:44:27 +0000
Bugs item #2971919, was opened at 2010-03-17 13:26
Message generated for change (Comment added) made by reddwarf69
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2971919&group_id=5665
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Samuli Suominen (ssuominen)
Assigned to: Nobody/Anonymous (nobody)
Summary: ADDON_LINKAGE should be set to SHARED for UNIX (Linux)
Initial Comment:
For some reason, allegro 4.4.1.1 has CMakeLists.txt set to build only static archive out of jpgalleg, loadpng, allegrogl and logg, a.k.a. addons. It makes sense to build shared libs also on Linux.
Expected outcome is:
/usr/lib64/libjpgalleg.so.4.4.1
/usr/lib64/libloadpng.so.4.4
/usr/lib64/liballeggl.so
/usr/lib64/liballeggl.so.4.4.1
/usr/lib64/liblogg.so.4.4.1
/usr/lib64/liblogg.so
/usr/lib64/liballeg.so
/usr/lib64/libjpgalleg.so.4.4
/usr/lib64/liblogg.so.4.4
/usr/lib64/libjpgalleg.so
/usr/lib64/liballeg.so.4.4
/usr/lib64/libloadpng.so
/usr/lib64/liballeg.so.4.4.1
/usr/lib64/liballeggl.so.4.4
/usr/lib64/libloadpng.so.4.4.1
I've worked this around by:
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -830,7 +830,7 @@
option(WANT_LOGG "Enable logg" on)
option(WANT_JPGALLEG "Enable JPGAlleg" on)
-if(WANT_FRAMEWORKS)
+if(SHARED)
set(ADDON_LINKAGE SHARED)
else()
set(ADDON_LINKAGE STATIC)
----------------------------------------------------------------------
Comment By: Cristian Morales Vega (reddwarf69)
Date: 2010-03-28 12:44
Message:
If done, pkg-config files need also to be modified with *.private entries.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2971919&group_id=5665