* [Buildroot] [PATCH] package/procps-ng: install libprocps.pc in staging/usr/lib/pkgconfig/
@ 2016-03-26 13:27 Romain Naour
2016-03-26 17:54 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Romain Naour @ 2016-03-26 13:27 UTC (permalink / raw)
To: buildroot
Since 834893a965a993e8a73e30b448426f626419f3c8, pkg-config --libs libprocps
doesn't work anymore because libprocps.pc is installed in
STAGING_DIR/lib/pkgconfig/ instead of STAGING_DIR/usr/lib/pkgconfig/.
Add --libdir=/usr/lib in PROCPS_NG_CONF_OPTS to fixes the issue.
Note that libprocps.so is now installed in /usr/lib/ instead of /lib/.
Fixes:
http://autobuild.buildroot.net/results/2e5/2e5100ccf1ed336c26b83930e7149941c97fc4d2/
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
package/procps-ng/procps-ng.mk | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/package/procps-ng/procps-ng.mk b/package/procps-ng/procps-ng.mk
index fb1b236..51a70a5 100644
--- a/package/procps-ng/procps-ng.mk
+++ b/package/procps-ng/procps-ng.mk
@@ -35,7 +35,11 @@ endif
# Make sure binaries get installed in /bin, so that they overwrite
# their busybox counterparts.
-PROCPS_NG_CONF_OPTS += --exec-prefix=/
+# Make sure libprocps.pc is installed in STAGING_DIR/usr/lib/pkgconfig/
+# otherwise it's installed in STAGING_DIR/lib/pkgconfig/ breaking
+# pkg-config --libs libprocps.
+PROCPS_NG_CONF_OPTS += --exec-prefix=/ \
+ --libdir=/usr/lib
# Allows unicode characters to show in 'watch'
ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y)
--
2.5.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] package/procps-ng: install libprocps.pc in staging/usr/lib/pkgconfig/
2016-03-26 13:27 [Buildroot] [PATCH] package/procps-ng: install libprocps.pc in staging/usr/lib/pkgconfig/ Romain Naour
@ 2016-03-26 17:54 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-03-26 17:54 UTC (permalink / raw)
To: buildroot
Hello,
On Sat, 26 Mar 2016 14:27:36 +0100, Romain Naour wrote:
> Since 834893a965a993e8a73e30b448426f626419f3c8, pkg-config --libs libprocps
> doesn't work anymore because libprocps.pc is installed in
> STAGING_DIR/lib/pkgconfig/ instead of STAGING_DIR/usr/lib/pkgconfig/.
>
> Add --libdir=/usr/lib in PROCPS_NG_CONF_OPTS to fixes the issue.
> Note that libprocps.so is now installed in /usr/lib/ instead of /lib/.
>
> Fixes:
> http://autobuild.buildroot.net/results/2e5/2e5100ccf1ed336c26b83930e7149941c97fc4d2/
>
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> ---
> package/procps-ng/procps-ng.mk | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-26 17:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-26 13:27 [Buildroot] [PATCH] package/procps-ng: install libprocps.pc in staging/usr/lib/pkgconfig/ Romain Naour
2016-03-26 17:54 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox