libpreludedb/libpreludedb-5.1.0-Fix_libdir_definition.patch
2019-11-10 13:32:22 +01:00

21 lines
581 B
Diff

Description: Fix libdir definition
Author: Thomas Andrejak <thomas.andrejak@gmail.com>
Last-Update: 2018-02-10
--- libpreludedb-3.1.0/libpreludedb-config.in 2018-02-10 20:26:02.511884738 -0500
+++ libpreludedb-3.1.0/libpreludedb-config.in 2018-02-10 20:25:57.140005520 -0500
@@ -90,7 +90,12 @@
if test $want_libs = yes; then
- libdirs=-L@libdir@
+ libdirs=""
+
+ # Set up `libdirs'.
+ if test "x@libdir@" != "x/usr/lib"; then
+ libdirs="-L@libdir@"
+ fi
if test $thread_set = yes; then
thrlibs=@LTLIBMULTITHREAD@