Retain symlinks. $(INSTALL_*) copys the contens of a file, so if we want to keep
symlinks either use $(CP) or create them manually. Fixes #4399 git-svn-id: svn://svn.openwrt.org/openwrt/packages@13844 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
#
|
||||
#
|
||||
# Copyright (C) 2006 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libart
|
||||
PKG_VERSION:=2.3.20
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)_lgpl-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)_lgpl/2.3
|
||||
@ -64,8 +64,8 @@ define Build/InstallDev
|
||||
$(PKG_INSTALL_DIR)/usr/include/libart-2.0 \
|
||||
$(1)/usr/include/
|
||||
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libart_lgpl_2.{la,so*} \
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libart_lgpl_2.{la,a,so*} \
|
||||
$(1)/usr/lib/
|
||||
|
||||
$(INSTALL_DATA) \
|
||||
@ -75,7 +75,7 @@ endef
|
||||
|
||||
define Package/libart/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libart_lgpl_2.so.* $(1)/usr/lib/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libart_lgpl_2.so.* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,libart))
|
||||
|
Reference in New Issue
Block a user