summaryrefslogtreecommitdiff
path: root/package/libs/libbsd/Makefile
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2015-04-03 00:07:43 +0000
committerNicolas Thill <nico@openwrt.org>2015-04-03 00:07:43 +0000
commitfe46689f104b5d0363f06a286a215fd98a3e6d72 (patch)
tree3b892153949b8626645974385eba9b6ad9693435 /package/libs/libbsd/Makefile
parent6a5a7db085fd88a8e1f64107ca65124d925e790f (diff)
downloadmtk-20170518-fe46689f104b5d0363f06a286a215fd98a3e6d72.zip
mtk-20170518-fe46689f104b5d0363f06a286a215fd98a3e6d72.tar.gz
mtk-20170518-fe46689f104b5d0363f06a286a215fd98a3e6d72.tar.bz2
packages: use $(LN) macro, make symlinks relative
Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 45250
Diffstat (limited to 'package/libs/libbsd/Makefile')
-rw-r--r--package/libs/libbsd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/libs/libbsd/Makefile b/package/libs/libbsd/Makefile
index fb38837..ca5e761 100644
--- a/package/libs/libbsd/Makefile
+++ b/package/libs/libbsd/Makefile
@@ -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))