[libxslt] xslt-config.in: Simply handling of $all_flags



commit a7481f3d816944d7f6f9a11ced4e7213557bb609
Author: Hugh McMaster <hugh mcmaster outlook com>
Date:   Mon Jul 29 21:46:47 2019 +1000

    xslt-config.in: Simply handling of $all_flags

 xslt-config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/xslt-config.in b/xslt-config.in
index 8b72e1df..5b885854 100644
--- a/xslt-config.in
+++ b/xslt-config.in
@@ -76,7 +76,6 @@ while test $# -gt 0; do
         if test "$includedir" != "/usr/include"; then
             cflags="$cflags @XSLT_INCLUDEDIR@"
         fi
-        all_flags="$cflags $all_flags"
                ;;
 
     --libs)
@@ -91,7 +90,7 @@ while test $# -gt 0; do
             libs="@XSLT_LIBDIR@ $libs"
         fi
 
-        all_flags="$all_flags $libs @EXTRA_LIBS@"
+        libs="$libs @EXTRA_LIBS@"
                ;;
 
     *)
@@ -102,6 +101,8 @@ while test $# -gt 0; do
     shift
 done
 
+all_flags="$cflags $libs"
+
 if test -z "$all_flags" || test "x$all_flags" = "x "; then
     exit 1
 fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]