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
This commit is contained in:
John Crispin 2015-07-17 12:51:24 +00:00
parent eff79253f2
commit d42b6c1afb

View File

@ -46,8 +46,8 @@ define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include $(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_BUILD_DIR)/swlib.h $(1)/usr/include/ $(CP) $(PKG_BUILD_DIR)/swlib.h $(1)/usr/include/
$(INSTALL_DIR) $(1)/lib $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libsw.so $(1)/lib/ $(CP) $(PKG_BUILD_DIR)/libsw.so $(1)/usr/lib/
endef endef
define Package/swconfig/install define Package/swconfig/install