From 33247cd906ba38d5d6475e8599d9387e363de78e Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Wed, 8 Mar 2006 08:05:56 +0000 Subject: [PATCH] Fix setting of SHLIB_VERSION_ARG for MinGW. --- ChangeLog | 10 +++++++++- Makefile.am | 2 +- configure.ac | 3 +++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f72469b8..49791356 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2006-03-08 Erik de Castro Lopo + + * Makefile.am + Add Mingw-make-dist.sh to the extra dist files. + + * configure.ac + Fix setting SHLIB_VERSION_ARG for MinGW. + 2006-03-04 Erik de Castro Lopo * src/common.h @@ -9,7 +17,7 @@ some places and a size_t in other places. * src/sd2.c - Add a workaround for situations where OSX seems to add an extra 0x53 bytes + Add a workaround for situations where OSX seems to add an extra 0x52 bytes to the start of the resource fork. 2006-02-19 Erik de Castro Lopo diff --git a/Makefile.am b/Makefile.am index 84db71f8..bae93e10 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,7 +3,7 @@ SUBDIRS = man doc Win32 Octave src examples regtest tests DIST_SUBDIRS = $(SUBDIRS) EXTRA_DIST = reconfigure.mk acinclude.m4 libsndfile.spec.in \ - sndfile.pc.in + sndfile.pc.in Mingw-make-dist.sh pkgconfigdir = $(libdir)/pkgconfig diff --git a/configure.ac b/configure.ac index a92a05a5..3c3ac569 100644 --- a/configure.ac +++ b/configure.ac @@ -441,6 +441,9 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then linux*) SHLIB_VERSION_ARG="-Wl,--version-script=\$(srcdir)/Symbols.linux" ;; + mingw*) + SHLIB_VERSION_ARG="-Wl,\$(srcdir)/libsndfile.def" + ;; *) ;; esac