diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-06-27 15:43:51 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-06-27 16:00:12 +0200 |
commit | 559cd704f8b32f1cfb0c54b983f4e86abb644510 (patch) | |
tree | 1127df98059ba607ae3cba2dc11a55409af2ad8b /scripts | |
parent | 7efef30be93f1ce496bdfaa758c9655e50b4d67b (diff) | |
download | ptxdist-559cd704f8b32f1cfb0c54b983f4e86abb644510.tar.gz ptxdist-559cd704f8b32f1cfb0c54b983f4e86abb644510.tar.xz |
ptxd_make_world_install_mangle_pc: use '${prefix}/lib' for libdir
The regex is basically <prefix>/lib so '${prefix}/lib' is the correct
value. Usually that is not a problem because prefix == exec_prefix, but
this fails for .pc files that do not define exec_prefix at all.
Without this checking for libpci fails with:
Variable 'exec_prefix' not defined in '.../sysroot-target/usr/lib/pkgconfig/libpci.pc'
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/ptxd_make_world_install_mangle_pc.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_world_install_mangle_pc.awk b/scripts/lib/ptxd_make_world_install_mangle_pc.awk index e27a4b67b..a1f040846 100644 --- a/scripts/lib/ptxd_make_world_install_mangle_pc.awk +++ b/scripts/lib/ptxd_make_world_install_mangle_pc.awk @@ -19,7 +19,7 @@ BEGIN { replace["prefix"] = "${pcfiledir}/../.."; replace["exec_prefix"] = "${prefix}"; - replace["libdir"] = "${exec_prefix}/lib"; + replace["libdir"] = "${prefix}/lib"; replace["includedir"] = "${prefix}/include"; replace[SYSROOT "/include"] = replace["includedir"] |