[libxslt] Remove WIN32_EXTRA_* variables



commit e176258ef677808066fdc2390ea820020329e58a
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Wed Jan 30 15:22:02 2019 +0100

    Remove WIN32_EXTRA_* variables
    
    Simply use LDFLAGS and LIBS instead.

 configure.ac              | 6 +-----
 libexslt/Makefile.am      | 2 +-
 libxslt/Makefile.am       | 1 -
 python/Makefile.am        | 2 +-
 tests/plugins/Makefile.am | 2 +-
 xsltproc/Makefile.am      | 2 +-
 6 files changed, 5 insertions(+), 10 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 74fb5e6e..ae643387 100644
--- a/configure.ac
+++ b/configure.ac
@@ -579,15 +579,11 @@ expanded_libdir=$(
 LIBXSLT_DEFAULT_PLUGINS_PATH="$expanded_libdir/libxslt-plugins"
 AC_SUBST(LIBXSLT_DEFAULT_PLUGINS_PATH)
 
-WIN32_EXTRA_LIBADD=
-WIN32_EXTRA_LDFLAGS=
 case "$host" in
  *-*-cygwin*|*-*-mingw*)
- WIN32_EXTRA_LDFLAGS="-no-undefined"
+ LDFLAGS="$LDFLAGS -no-undefined"
  ;;
 esac
-AC_SUBST(WIN32_EXTRA_LIBADD)
-AC_SUBST(WIN32_EXTRA_LDFLAGS)
 
 
 AC_SUBST(XSLTPROCDV)
diff --git a/libexslt/Makefile.am b/libexslt/Makefile.am
index 54495243..de1104c2 100644
--- a/libexslt/Makefile.am
+++ b/libexslt/Makefile.am
@@ -28,7 +28,7 @@ libexslt_la_SOURCES =                   \
        dynamic.c
 
 libexslt_la_LIBADD = $(top_builddir)/libxslt/libxslt.la $(EXTRA_LIBS) $(LIBGCRYPT_LIBS) $(M_LIBS)
-libexslt_la_LDFLAGS = $(WIN32_EXTRA_LDFLAGS) -version-info $(LIBEXSLT_VERSION_INFO)
+libexslt_la_LDFLAGS = -version-info $(LIBEXSLT_VERSION_INFO)
 
 man_MANS = libexslt.3
 
diff --git a/libxslt/Makefile.am b/libxslt/Makefile.am
index ef2de24e..22dbdefa 100644
--- a/libxslt/Makefile.am
+++ b/libxslt/Makefile.am
@@ -64,7 +64,6 @@ endif
 
 libxslt_la_LIBADD = $(LIBXML_LIBS) $(EXTRA_LIBS) $(M_LIBS)
 libxslt_la_LDFLAGS =                                   \
-               $(WIN32_EXTRA_LDFLAGS)                  \
                $(LIBXSLT_VERSION_SCRIPT)               \
                -version-info $(LIBXSLT_VERSION_INFO)
 
diff --git a/python/Makefile.am b/python/Makefile.am
index fa58b78f..f6b38791 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -19,7 +19,7 @@ EXTRA_DIST =                  \
        libxslt-python-api.xml  \
        $(DOCS)
 
-libxsltmod_la_LDFLAGS =  $(WIN32_EXTRA_LDFLAGS) -module -avoid-version
+libxsltmod_la_LDFLAGS =  -module -avoid-version
 
 if WITH_PYTHON
 mylibs = \
diff --git a/tests/plugins/Makefile.am b/tests/plugins/Makefile.am
index 0f8c3780..e0736ab9 100644
--- a/tests/plugins/Makefile.am
+++ b/tests/plugins/Makefile.am
@@ -21,7 +21,7 @@ plugindir = $(abs_builddir)/.libs
 xmlsoft_org_xslt_testplugin_la_CFLAGS = -DMODULE_COMPILE $(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS)
 xmlsoft_org_xslt_testplugin_la_SOURCES = testplugin.c
 xmlsoft_org_xslt_testplugin_la_LIBADD = $(top_builddir)/libxslt/libxslt.la $(EXTRA_LIBS)
-xmlsoft_org_xslt_testplugin_la_LDFLAGS = $(WIN32_EXTRA_LDFLAGS) -module -avoid-version -rpath $(plugindir)
+xmlsoft_org_xslt_testplugin_la_LDFLAGS = -module -avoid-version -rpath $(plugindir)
 
 test-logall:
        @echo '## Running plugin tests'
diff --git a/xsltproc/Makefile.am b/xsltproc/Makefile.am
index 1a8804fc..cce3b81c 100644
--- a/xsltproc/Makefile.am
+++ b/xsltproc/Makefile.am
@@ -23,7 +23,7 @@ DEPS = $(top_builddir)/libxslt/libxslt.la \
 
 LDADDS = $(top_builddir)/libxslt/libxslt.la \
          $(top_builddir)/libexslt/libexslt.la \
-       $(LIBXML_LIBS) $(EXTRA_LIBS) $(M_LIBS) $(WIN32_EXTRA_LIBADD)
+       $(LIBXML_LIBS) $(EXTRA_LIBS) $(M_LIBS)
 
 xsltproc_LDADD = $(LIBGCRYPT_LIBS) $(LDADDS)
 


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