mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-01 10:49:26 +00:00
debug mingw32ce build for libosip2
This commit is contained in:
parent
337f2062b1
commit
8b30b5cf9d
3 changed files with 7 additions and 3 deletions
|
|
@ -1,5 +1,6 @@
|
|||
host:=armv4-mingw32ce
|
||||
config_site:=cegcc-config.site
|
||||
library_mode:=""
|
||||
libosip2_version:=svn
|
||||
|
||||
include builder-generic.mk
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue