comparison configure @ 22797:423d7ac28bb2

Unconditionally add -li386 to LDFLAGS on OpenBSD/x86-32.
author diego
date Sat, 24 Mar 2007 20:16:34 +0000
parents 4930b83a81d2
children 6279120e9465
comparison
equal deleted inserted replaced
22796:7986e3f73008 22797:423d7ac28bb2
6031 fi 6031 fi
6032 if test "$_win32dll" = yes ; then 6032 if test "$_win32dll" = yes ; then
6033 _def_win32dll='#define USE_WIN32DLL 1' 6033 _def_win32dll='#define USE_WIN32DLL 1'
6034 test -z "$_win32codecsdir" && _win32codecsdir=$_codecsdir 6034 test -z "$_win32codecsdir" && _win32codecsdir=$_codecsdir
6035 _res_comment="using $_win32codecsdir" 6035 _res_comment="using $_win32codecsdir"
6036 openbsd && x86_32 && _ld_extra="$_ld_extra -li386"
6037 if not win32 ; then 6036 if not win32 ; then
6038 _def_win32_loader='#define WIN32_LOADER 1' 6037 _def_win32_loader='#define WIN32_LOADER 1'
6039 else 6038 else
6040 _ld_extra="$_ld_extra -ladvapi32 -lole32" 6039 _ld_extra="$_ld_extra -ladvapi32 -lole32"
6041 _res_comment="using native windows" 6040 _res_comment="using native windows"
7228 fi 7227 fi
7229 7228
7230 _ld_extra="$_ld_extra $_ld_pthread $_ld_dl $_ld_dl_dynamic" 7229 _ld_extra="$_ld_extra $_ld_pthread $_ld_dl $_ld_dl_dynamic"
7231 bsdos && _ld_extra="$_ld_extra -ldvd" 7230 bsdos && _ld_extra="$_ld_extra -ldvd"
7232 netbsd && x86_32 && _ld_extra="$_ld_extra -li386" 7231 netbsd && x86_32 && _ld_extra="$_ld_extra -li386"
7232 openbsd && x86_32 && _ld_extra="$_ld_extra -li386"
7233 7233
7234 _def_debug='#undef MP_DEBUG' 7234 _def_debug='#undef MP_DEBUG'
7235 test "$_debug" != "" && _def_debug='#define MP_DEBUG 1' 7235 test "$_debug" != "" && _def_debug='#define MP_DEBUG 1'
7236 7236
7237 _def_linux='#undef TARGET_LINUX' 7237 _def_linux='#undef TARGET_LINUX'