X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/8b28b2a559e0fe89fd86dec1ea5a8be00a16b499..25ea0c2afb9795e9ba7a5446af302e522c3b606f:/package/openwrt/libshared/Makefile?ds=sidebyside diff --git a/package/openwrt/libshared/Makefile b/package/openwrt/libshared/Makefile index 601dc665c..4309c8ce6 100644 --- a/package/openwrt/libshared/Makefile +++ b/package/openwrt/libshared/Makefile @@ -26,12 +26,14 @@ $(PKG_BUILD_DIR): $(PKG_BUILD_DIR)/libshared.so: $(LIBSHARED_OBJS) $(TARGET_CC) -shared -o $@ $^ +$(STAGING_DIR)/lib/libshared.so: $(PKG_BUILD_DIR)/libshared.so + install -m 644 $< $@ + $(TARGET_DIR)/usr/lib/libshared.so: $(PKG_BUILD_DIR)/libshared.so install -m 644 $^ $@ - install -m 644 $^ $(STAGING_DIR)/lib/libshared.so $(STRIP) $@ -compile: $(PKG_BUILD_DIR)/libshared.so +compile: $(PKG_BUILD_DIR)/libshared.so $(STAGING_DIR)/lib/libshared.so install: $(TARGET_DIR)/usr/lib/libshared.so clean: