diff options
author | John Crispin <john@openwrt.org> | 2015-07-17 12:51:24 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-07-17 12:51:24 +0000 |
commit | d42b6c1afb7320860fa406f12b165fa4295464c7 (patch) | |
tree | 43ddab03add1b0cedba107f5775bd819f1727d8f | |
parent | eff79253f2fd3b4e7f1000b09e1fedf8f52d7af4 (diff) | |
download | mtk-20170518-d42b6c1afb7320860fa406f12b165fa4295464c7.zip mtk-20170518-d42b6c1afb7320860fa406f12b165fa4295464c7.tar.gz mtk-20170518-d42b6c1afb7320860fa406f12b165fa4295464c7.tar.bz2 |
swconfig: libsw.so should be installed into /usr/lib/
otherwise it's not picked up by toolchain:
staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_musl-1.1.10/lib/gcc/mipsel-openwrt-linux-musl/4.8.3/../../../../mipsel-openwrt-linux-musl/bin/ld: cannot find -lsw
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 46406
-rw-r--r-- | package/network/config/swconfig/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/config/swconfig/Makefile b/package/network/config/swconfig/Makefile index 3c2ec3e..b62b059 100644 --- a/package/network/config/swconfig/Makefile +++ b/package/network/config/swconfig/Makefile @@ -46,8 +46,8 @@ define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_BUILD_DIR)/swlib.h $(1)/usr/include/ - $(INSTALL_DIR) $(1)/lib - $(CP) $(PKG_BUILD_DIR)/libsw.so $(1)/lib/ + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_BUILD_DIR)/libsw.so $(1)/usr/lib/ endef define Package/swconfig/install |