libpreludedb/libpreludedb-5.1.0-Fix_libdir_definition.patch

21 lines
581 B
Diff
Raw Normal View History

2019-11-10 12:32:22 +00:00
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@