Commit 287d3b13 authored by Dave Yeo's avatar Dave Yeo Committed by Diego Biurrun

Create object files in a.out (aout-emx) format on OS/2. This works around

needed system tools like nm not understanding the OMF object format.
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 12523 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent c2f178da
...@@ -1268,16 +1268,13 @@ case $targetos in ...@@ -1268,16 +1268,13 @@ case $targetos in
ranlib="echo ignoring ranlib" ranlib="echo ignoring ranlib"
;; ;;
os/2*) os/2*)
ar="emxomfar -p256"
ranlib="echo ignoring ranlib"
strip="lxlite" strip="lxlite"
ln_s="cp -f" ln_s="cp -f"
add_cflags "-Zomf"
EXESUF=".exe" EXESUF=".exe"
FFLDFLAGS="-Zomf -Zbin-files -Zargs-wild -Zmap" FFLDFLAGS="-Zomf -Zbin-files -Zargs-wild -Zmap"
SHFLAGS='$(NAME).def -Zdll -Zomf' SHFLAGS='$(NAME).def -Zdll -Zomf'
FFSERVERLDFLAGS="" FFSERVERLDFLAGS=""
LIBSUF="_s.lib" LIBSUF="_s.a"
SLIBPREF="" SLIBPREF=""
SLIBSUF=".dll" SLIBSUF=".dll"
SLIBNAME_WITH_VERSION='$(SLIBPREF)$(NAME)-$(LIBVERSION)$(SLIBSUF)' SLIBNAME_WITH_VERSION='$(SLIBPREF)$(NAME)-$(LIBVERSION)$(SLIBSUF)'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment