X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/9592a6ef10e1c457cf92719cf8ad13545b172543..b4ca45931c08e23b81e7a2d3c5cf6fa3aea151ef:/package/libtool/Makefile?ds=inline 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