Commit 8b30b5cf authored by jehan monnier's avatar jehan monnier

debug mingw32ce build for libosip2

parent 337f2062
host:=armv4-mingw32ce
config_site:=cegcc-config.site
library_mode:=""
libosip2_version:=svn
include builder-generic.mk
host?=armv6-apple-darwin
config_site?=iphone-config.site
library_mode?= --disable-shared
libosip2_version=3.3.0
libosip2_version?=3.3.0
libeXosip2_version=3.3.0
libspeex_version=1.2rc1
libgsm_version=1.0.13
......@@ -60,6 +60,9 @@ get_dependencies: get_osip2_src get_eXosip2_src get_speex_src get_libgsm_src
#osip2
get_osip2_svn:
cd $(LINPHONE_SRC_DIR)/ \
&& svn co svn://svn.sv.gnu.org/osip/trunk/osip libosip2-$(libosip2_version)
get_osip2_src:
cd $(LINPHONE_SRC_DIR)/ \
&& rm -f libosip2-$(libosip2_version).tar.gz \
......@@ -75,7 +78,7 @@ $(LINPHONE_SRC_DIR)/libosip2-$(libosip2_version)/configure:
$(LINPHONE_SRC_DIR)/libosip2-$(libosip2_version)/Makefile: $(LINPHONE_SRC_DIR)/libosip2-$(libosip2_version)/configure
cd $(LINPHONE_SRC_DIR)/libosip2-$(libosip2_version)/ \
&& CONFIG_SITE=$(LINPHONE_SRC_DIR)/scripts/$(config_site) \
./configure -prefix=$(prefix) --host=$(host) ${library_mode} --enable-pthread=yes
./configure -prefix=$(prefix) --host=$(host) ${library_mode}
build-osip2: $(LINPHONE_SRC_DIR)/libosip2-$(libosip2_version)/Makefile
cd $(LINPHONE_SRC_DIR)/libosip2-$(libosip2_version) && make && make install
......
......@@ -13,4 +13,4 @@ RANLIB=${SDK_BIN_PATH}/arm-mingw32ce-ranlib
CPPFLAGS="-Dasm=__asm -D_WIN32_WCE"
CFLAGS="-D_WIN32_WCE"
#LDFLAGS="-Wl,-syslibroot ${SYSROOT_PATH}"
LDFLAGS="-L${SYSROOT_PATH}/arm-mingw32ce/lib"
LDFLAGS="-Wl,-L${SYSROOT_PATH}/arm-mingw32ce/lib -lws2"
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