mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
Sorry, I'd meant to handle this before but forgot to get back to it.
Fixes: f6cc38929e
Signed-off-by: Sam James <sam@gentoo.org>
19 lines
487 B
Diff
19 lines
487 B
Diff
--- a/src/libgcrypt-config.in
|
|
+++ b/src/libgcrypt-config.in
|
|
@@ -166,9 +166,12 @@ if test "$echo_libs" = "yes"; then
|
|
libs_final="$libs"
|
|
|
|
# Set up `libdirs'.
|
|
- if test "x$libdir" != "x/usr/lib" && test "x$libdir" != "x/lib"; then
|
|
- libdirs="-L$libdir"
|
|
- fi
|
|
+ case "$libdir" in
|
|
+ /usr/lib|/usr/lib64|/lib|/lib64) ;;
|
|
+ *)
|
|
+ libdirs="-L$libdir"
|
|
+ ;;
|
|
+ esac
|
|
|
|
# Set up `libs_final'.
|
|
libs_final="$libs_final $gpg_error_libs"
|