X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/9592a6ef10e1c457cf92719cf8ad13545b172543..15a349aa5ebbc8259ab88269552844049e1cbab0:/package/libtool/Makefile?ds=sidebyside diff --git a/package/libtool/Makefile b/package/libtool/Makefile index f179cd7c2..7c5e431ea 100644 --- a/package/libtool/Makefile +++ b/package/libtool/Makefile @@ -15,8 +15,6 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@GNU/libtool PKG_MD5SUM:=d0071c890101fcf4f2be8934a37841b0 -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) - HOST_PATCH_DIR=/dev/null PKG_BUILD_DEPENDS:=libtool/host @@ -45,6 +43,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