mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-22 15:48:27 +02:00
liballegro: compile png, jpeg, vorbis add-ons as shared libraries.
This commit is contained in:
parent
088d3e7b1d
commit
186242d171
@ -19,7 +19,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=liballegro
|
PKG_NAME:=liballegro
|
||||||
PKG_VERSION:=4.4.2
|
PKG_VERSION:=4.4.2
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
PKG_SOURCE:=allegro-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=allegro-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@SF/alleg/allegro/$(PKG_VERSION)
|
PKG_SOURCE_URL:=@SF/alleg/allegro/$(PKG_VERSION)
|
||||||
PKG_BUILD_DIR = $(BUILD_DIR)/allegro-$(PKG_VERSION)
|
PKG_BUILD_DIR = $(BUILD_DIR)/allegro-$(PKG_VERSION)
|
||||||
@ -260,7 +260,7 @@ define Build/InstallDev
|
|||||||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*.so* \
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*.so* \
|
||||||
$(1)/usr/lib/
|
$(1)/usr/lib/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*.a \
|
-$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*.a \
|
||||||
$(1)/usr/lib/
|
$(1)/usr/lib/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
|
||||||
$(1)/usr/lib/pkgconfig/
|
$(1)/usr/lib/pkgconfig/
|
||||||
|
13
liballegro/patches/090-addons-not-static.patch
Normal file
13
liballegro/patches/090-addons-not-static.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: allegro-4.4.2/CMakeLists.txt
|
||||||
|
===================================================================
|
||||||
|
--- allegro-4.4.2.orig/CMakeLists.txt 2012-03-31 01:45:47.403146010 +0200
|
||||||
|
+++ allegro-4.4.2/CMakeLists.txt 2012-03-31 01:46:04.255249710 +0200
|
||||||
|
@@ -910,7 +910,7 @@
|
||||||
|
if(WANT_FRAMEWORKS)
|
||||||
|
set(ADDON_LINKAGE SHARED)
|
||||||
|
else()
|
||||||
|
- set(ADDON_LINKAGE STATIC)
|
||||||
|
+ set(ADDON_LINKAGE SHARED)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(WANT_ALLEGROGL)
|
Loading…
Reference in New Issue
Block a user