packages: use $(LN) macro, make symlinks relative

Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 45250
This commit is contained in:
Nicolas Thill
2015-04-03 00:07:43 +00:00
parent 6a5a7db085
commit fe46689f10
9 changed files with 17 additions and 17 deletions

View File

@@ -39,7 +39,7 @@ define Build/InstallDev
$(PKG_INSTALL_DIR)/usr/include/* \
$(1)/usr/include/
( cd $(1)/lib ; ln -s libbsd.so.$(PKG_VERSION) libbsd.so )
( cd $(1)/lib ; $(LN) libbsd.so.$(PKG_VERSION) libbsd.so )
endef
define Package/libbsd/install
@@ -50,7 +50,7 @@ define Package/libbsd/install
$(PKG_INSTALL_DIR)/lib/libbsd.so* \
$(1)/lib/
( cd $(1)/lib ; ln -s libbsd.so.$(PKG_VERSION) libbsd.so )
( cd $(1)/lib ; $(LN) libbsd.so.$(PKG_VERSION) libbsd.so )
endef
$(eval $(call BuildPackage,libbsd))