[OpenWrt-Devel] [PATCH 1/1 v2] package/libs/libtool: rename to libltdl

Felix Fietkau nbd at openwrt.org
Sun Jan 3 20:37:01 EST 2016


On 2016-01-04 02:23, Heinrich Schuchardt wrote:
> On 04.01.2016 01:43, Felix Fietkau wrote:
>> On 2016-01-04 01:34, Heinrich Schuchardt wrote:
>>> Source package libtool is used to package libltdl.
>>> Unfortunately binary libtoolize is missing.
>>> Packaging libtoolize would depend on package file which is in the
>>> packages feed.
>>> Felix Fietkau suggested to rename source libtool to libltdl
>>> and to create a new package libtool in packages.
>>>
>>> This patch contains the renaming.
>>>
>>> version 2
>>> 	Renaming must occur inside Makefile too.
>> That Build/Prepare code is rather weird. How about leaving PKG_NAME
>> alone, removing Build/Prepare and just setting:
>> PKG_BUILD_DIR:=$(BUILD_DIR)/libltdl/$(PKG_NAME)-$(PKG_VERSION)
>> 
>> - Felix
>> 
> Does variable PKG_NAME have no significance outside?
There were some instances where it was used that might have triggered
some rare race conditions, but I just fixed those in r48110.

> Doesn't it have to match the directory name?
It doesn't.

> What I want to avoid is that if I create
> devel/libtool/Makefile with PKG_NAME=libtool
> in feed packages I get any interference.
You can safely do that.

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list