From 6232a23a5b5244016ad32eed8122dc941e49e96b Mon Sep 17 00:00:00 2001 From: Thomas Andrejak Date: Wed, 23 Sep 2020 08:18:24 +0200 Subject: [PATCH] Add missing patch --- ...dedb-5.2.0-Clean_libpreludedb-config.patch | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 libpreludedb-5.2.0-Clean_libpreludedb-config.patch diff --git a/libpreludedb-5.2.0-Clean_libpreludedb-config.patch b/libpreludedb-5.2.0-Clean_libpreludedb-config.patch new file mode 100644 index 0000000..ccb511b --- /dev/null +++ b/libpreludedb-5.2.0-Clean_libpreludedb-config.patch @@ -0,0 +1,50 @@ +Description: Clean libpreludedb-config +Author: Thomas Andrejak +Last-Update: 2020-09-20 + +--- a/libpreludedb-config.in 2020-09-09 16:36:50.110000000 +0200 ++++ b/libpreludedb-config.in 2020-09-20 23:30:02.097649400 +0200 +@@ -3,6 +3,7 @@ + prefix=@prefix@ + exec_prefix=@exec_prefix@ + exec_prefix_set=no ++cpp_set=no + want_cflags=no + want_libs=no + thread_set=no +@@ -54,6 +55,10 @@ + echo @LIBPRELUDE_LDFLAGS@ + ;; + ++ --c++) ++ cpp_set=yes ++ ;; ++ + --libs) + want_libs=yes + ;; +@@ -90,7 +95,14 @@ + + + if test $want_libs = yes; then +- libdirs=-L@libdir@ ++ libdirs= ++ if test @libdir@ != /usr/lib -a @libdir@ != /usr/lib64 ; then ++ libdirs=-L@libdir@ ++ fi ++ cpplibs="" ++ if test $cpp_set = yes; then ++ cpplibs="-lpreludedbcpp" ++ fi + + if test $thread_set = yes; then + thrlibs=@LTLIBMULTITHREAD@ +@@ -98,7 +110,7 @@ + thrlibs=@LTLIBTHREAD@ + fi + +- echo $libdirs -lpreludedb @LIBPRELUDE_LIBS@ $thrlibs ++ echo $cpplibs $libdirs -lpreludedb $thrlibs + fi + + exit 0