[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:42:19 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=d29e582

The following commit has been merged in the master branch:
commit d29e582a54ac4a885784b7ceaefd9eeadaa5f11a
Author: vog <vog at notjusthosting.com>
Date:   Sun Mar 27 15:44:57 2011 +0000

    #767: Add "-no-undefined" as lately as possible in the ./configure process, so it won't be passed to GCC by accident
---
 config/configure.ac | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/config/configure.ac b/config/configure.ac
index 9365900..076e526 100644
--- a/config/configure.ac
+++ b/config/configure.ac
@@ -31,12 +31,6 @@ AC_PROG_INSTALL
 AC_PROG_LN_S
 AC_PROG_MAKE_SET
 AC_CANONICAL_HOST
-# Add flag for DLL on Windows
-case "$host_os" in
-*mingw* | *cygwin*)
-    LDFLAGS="$LDFLAGS -no-undefined"
-    ;;
-esac
 
 # ---------------------------------------------------------------------------
 # i18n support
@@ -204,6 +198,17 @@ else
 fi
 AC_SUBST(EXV_LIB_STATIC)
 
+# Add flag for DLL on Windows
+#
+# This must happen after all other configure checks, because
+# the "-no-undefined" flag is only for libtool and may not be
+# passed to GCC by accident.
+case "$host_os" in
+*mingw* | *cygwin*)
+    LDFLAGS="$LDFLAGS -no-undefined"
+    ;;
+esac
+
 # ---------------------------------------------------------------------------
 # Create output files.
 # ---------------------------------------------------------------------------

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list