enabled sparc64 && enable sparc
# OS specific
-osextralibs="-lm"
case $targetos in
beos|haiku|zeta)
PREFIX="$HOME/config"
need_memalign="no"
;;
bsd/os)
- osextralibs="-lpoll -lgnugetopt -lm"
+ osextralibs="-lpoll -lgnugetopt"
strip="strip -d"
;;
darwin)
need_memalign="no"
SHFLAGS="-dynamiclib -Wl,-single_module -Wl,-install_name,\$(SHLIBDIR)/\$(SLIBNAME),-current_version,\$(SPPVERSION),-compatibility_version,\$(SPPVERSION) -Wl,-read_only_relocs,suppress"
VHOOKSHFLAGS='-dynamiclib -Wl,-single_module -flat_namespace -undefined suppress -Wl,-install_name,$(SHLIBDIR)/vhook/$@'
- osextralibs=""
strip="strip -x"
FFLDFLAGS="-Wl,-dynamic,-search_paths_first"
SLIBSUF=".dylib"
VHOOKSHFLAGS="$VHOOKSHFLAGS -L\$(BUILD_ROOT)/libswscale"
VHOOKLIBS="$VHOOKLIBS -lswscale\$(BUILDSUF)"
fi
- osextralibs=""
EXESUF=".exe"
SLIBPREF="cyg"
SLIBSUF=".dll"
add_extralibs $osextralibs
+check_ldflags -lm
+
if ! disabled logging ; then
enabled logging || logfile="$logging"
echo "# $0 $@" >$logfile