add linker search path for wince

This commit is contained in:
jehan monnier 2009-10-21 20:39:45 +02:00
parent e1bcdb20e9
commit f5d363da60
3 changed files with 9 additions and 1 deletions

6
linphone/README.mingwce Normal file
View file

@ -0,0 +1,6 @@
install arm-mingw32ce from 0.55 from http://cegcc.sourceforge.net/
for ortp:
cd oRTP
./configure --host=arm-mingw32ce --enable-strict=no --enable-ipv6=no

View file

@ -99,7 +99,8 @@ case "$target_os" in
PTHREAD_LDFLAGS="-pthread"
;;
*mingw32ce)
CFLAGS="$CFLAGS -D_WIN32_WCE";;
CFLAGS="$CFLAGS -D_WIN32_WCE"
LIBS="$LIBS -lws2 -liphlpapi";;
*mingw*)
CFLAGS="$CFLAGS -D_WIN32_WINNT=0x0501 -DORTP_STATIC"
LIBS="$LIBS -lws2_32 -liphlpapi -lwinmm"

View file

@ -12,3 +12,4 @@ RANLIB=${SDK_BIN_PATH}/arm-mingw32ce-ranlib
CPPFLAGS="-Dasm=__asm"
#LDFLAGS="-Wl,-syslibroot ${SYSROOT_PATH}"
LDFLAGS="-L${SYSROOT_PATH}/arm-mingw32ce/lib"