[flac-dev] [PATCH 1/2] OS/2 also needs "-no-undefined" to build a DLL

Dave Yeo dave.r.yeo at gmail.com
Sat Feb 4 19:48:17 PST 2012


---
 configure.ac |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 36ac6c6..32bdd5f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -103,9 +103,11 @@ esac
 AC_SUBST(OBJ_FORMAT)
 
 case "$host" in
-	*-*-cygwin|*mingw*)
-		# define this variable for enabling strict exports with libtool; for now, it's only supported by Win32
+	*-*-cygwin|*mingw*|*emx*)
+		# define this variable for enabling strict exports with libtool; for now, it's supported by Win32 and OS/2
 		LT_NO_UNDEFINED="-no-undefined"
+		;;
+	*-*-cygwin|*mingw*)
 		# -lwsock32 only needed because of ntohl() usage, can get rid of after that's gone:
 		MINGW_WINSOCK_LIBS=-lwsock32
 		;;
-- 
1.7.2.3


More information about the flac-dev mailing list