ref: 18210cbdff04222686c733cd78d402fb10eb6849
parent: 4834b7c5d997b7aba497c06fcf65bb2802a0ecb5
author: cbagwell <cbagwell>
date: Tue Nov 4 13:36:49 EST 2008
Using slightly safer fixes for OS/2.
--- a/configure.ac
+++ b/configure.ac
@@ -110,11 +110,11 @@
LDFLAGS="$LDFLAGS -Wl,-z,defs"
;;
*os2*)
- CFLAGS="$CFLAGS -Zofm"
- LDFLAGS="$LDFLAGS -no-undefined"
+ APP_LDFLAGS="-no-undefined"
;;
esac
fi
+AC_SUBST(APP_LDFLAGS)
AC_SUBST(WARN_CFLAGS)
dnl Get distro name from /etc/issue
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -281,7 +281,7 @@
endif
libsox_la_CFLAGS = @WARN_CFLAGS@ @SAMPLERATE_CFLAGS@
-libsox_la_LDFLAGS = -version-info @SHLIB_VERSION@
+libsox_la_LDFLAGS = @APP_LDFLAGS@ -version-info @SHLIB_VERSION@
if HAVE_LIBLTDL
libsox_la_CFLAGS += $(LTDLINCL)