X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ba25e57dccae7fe1a1ce693dcc25b5326b7c56b0..88ce24799a4511ded5f800a636445ff0e2d91a27:/package/libtool/Makefile diff --git a/package/libtool/Makefile b/package/libtool/Makefile index 699e537cb..8d50a7ada 100644 --- a/package/libtool/Makefile +++ b/package/libtool/Makefile @@ -19,6 +19,8 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) HOST_PATCH_DIR=/dev/null +PKG_BUILD_DEPENDS:=libtool/host + include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/package.mk @@ -43,6 +45,8 @@ define Build/InstallDev mv $(2)/lib/* $(1)/usr/lib/ mv $(2)/include/* $(1)/usr/include/ $(SED) 's,\(hardcode_into_libs\)=yes,\1=no,g' $(2)/bin/libtool + $(CP) $(2)/bin/libtool $(2)/bin/libtool-ucxx + $(SED) 's,-lstdc++,-luClibc++,g' $(2)/bin/libtool-ucxx endef define Package/libltdl/install