Dave Yeo
2012-Feb-05 03:48 UTC
[flac-dev] [PATCH 1/2] OS/2 also needs "-no-undefined" to build a DLL
--- 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
Dave Yeo
2012-Feb-05 03:50 UTC
[flac-dev] [PATCH 2/2] OS/2 EMX natively uses AOUT so pass -f aout to NASM
--- configure.ac | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index 32bdd5f..06b910a 100644 --- a/configure.ac +++ b/configure.ac @@ -98,6 +98,7 @@ case "$host" in i386-*-openbsd3.[[0-3]]) OBJ_FORMAT=aoutb ;; *-*-cygwin|*mingw*) OBJ_FORMAT=win32 ;; *-*-darwin*) OBJ_FORMAT=macho ;; + *emx*) OBJ_FORMAT=aout ;; *) OBJ_FORMAT=elf ;; esac AC_SUBST(OBJ_FORMAT) -- 1.7.2.3
Erik de Castro Lopo
2012-Feb-05 05:30 UTC
[flac-dev] [PATCH 2/2] OS/2 EMX natively uses AOUT so pass -f aout to NASM
Dave Yeo wrote:> --- > configure.ac | 1 +Both applied (first with a minor tweak). Thanks. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/