* [Buildroot] tslib puts staging_dir into pkgconfig file
@ 2009-01-19 16:30 Sven Neumann
2009-01-20 6:02 ` Hans-Christian Egtvedt
0 siblings, 1 reply; 6+ messages in thread
From: Sven Neumann @ 2009-01-19 16:30 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] tslib puts staging_dir into pkgconfig file
2009-01-19 16:30 [Buildroot] tslib puts staging_dir into pkgconfig file Sven Neumann
@ 2009-01-20 6:02 ` Hans-Christian Egtvedt
2009-01-20 9:37 ` Peter Korsgaard
0 siblings, 1 reply; 6+ messages in thread
From: Hans-Christian Egtvedt @ 2009-01-20 6:02 UTC (permalink / raw)
To: buildroot
On Mon, 19 Jan 2009 17:30:48 +0100
Sven Neumann <s.neumann@phase-zero.de> wrote:
<snipp>
> Index: package/tslib/tslib.mk
> ===================================================================
> --- package/tslib/tslib.mk (revision 24807)
> +++ package/tslib/tslib.mk (working copy)
> @@ -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.
> + --exec_prefix=/usr \
> --sysconfdir=/etc \
Along with this one.
> --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?
--
Best regards,
Hans-Christian Egtvedt
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-01-21 9:26 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-19 16:30 [Buildroot] tslib puts staging_dir into pkgconfig file Sven Neumann
2009-01-20 6:02 ` Hans-Christian Egtvedt
2009-01-20 9:37 ` Peter Korsgaard
2009-01-20 11:49 ` Sven Neumann
2009-01-21 9:22 ` Sven Neumann
2009-01-21 9:26 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox