tslib puts staging_dir into pkgconfig file
Hi,
the tslib package passes options to configure that cause the generated tslib.pc file to contain pointers into the staging_dir. This causes applications and drivers that link with libts to search for that library in the staging_dir. Attached is a patch that fixes this.
It looks like libusb has a similar problem, btw.
Sven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tslib.diff
Type: text/x-patch
Size: 679 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/buildroot/attachments/20090119/3d39177f/attachment.bin
On Mon, 19 Jan 2009 17:30:48 +0100
Sven Neumann <[email protected]> wrote:
<snipp>
tslib/tslib.mk line 32
Quoted 11 lines
Index:
package/tslib/tslib.mk
===================================================================tslib/tslib.mk +1
-2@@ -29,13 +29,13 @@ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ - --prefix=$(STAGING_DIR)/usr \ - --exec_prefix=$(STAGING_DIR)/usr \ + --prefix=/usr \
This is usually enough to specify.
tslib/tslib.mk line 34
Quoted 2 lines
tslib/tslib.mk +1
-0+ --exec_prefix=/usr \ --sysconfdir=/etc \
Along with this one.
tslib/tslib.mk line 41
Quoted 9 lines
tslib/tslib.mk +2
-2--datadir=/usr/share \ --localstatedir=/var \ - --includedir=$(STAGING_DIR)/usr/include \ - --libdir=$(STAGING_DIR)/usr/lib \ + --includedir=/usr/include \ + --libdir=/usr/lib \ --disable-static \ --disable-linear-h2200 \ --disable-ucb1x00 \
Why not just convert it to Makefile.autotools.in?
Signature · 2 lines
Best regards, Hans-Christian Egtvedt
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Hans-Christian" == Hans-Christian Egtvedt <[email protected]> writes:
Hans-Christian> Why not just convert it to Makefile.autotools.in?
My thoughts exactly.
Signature · 1 line
Bye, Peter Korsgaard
Hi,
Quoted 5 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Hans-Christian" == Hans-Christian Egtvedt <[email protected]> writes:
Hans-Christian> Why not just convert it to Makefile.autotools.in?
My thoughts exactly.
Yeah, why not :) Attached is a patch that does this. Seems to work nicely for me.
Sven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tslib-autotools.diff
Type: text/x-patch
Size: 4323 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/buildroot/attachments/20090120/060521bb/attachment.bin
Hi,
I've opened https://bugs.busybox.net/show_bug.cgi?id=61 for this so that the patch does not get lost.
Sven
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Sven" == Sven Neumann <[email protected]> writes:
Sven> Hi,
Sven> I've opened https://bugs.busybox.net/show_bug.cgi?id=61 for this so that Sven> the patch does not get lost.
Thanks.
Signature · 1 line
Bye, Peter Korsgaard