Skip to content

Commit 3c59c07

Browse files
committed
add curl rules
1 parent 8dacb04 commit 3c59c07

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

build/tizen/build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ info $toolchain_bin
8383
export PATH="${toolchain_bin}:${cocos_root}/extras/tools/bin:$PATH"
8484
TARGET="arm-linux-gnueabi"
8585

86+
# FIXME: If the Tizen sdk is changeing, the version number might need also be changed
87+
export LDFLAGS="-L${TIZEN_SDK}/platforms/mobile-2.3/rootstraps/mobile-2.3-device.core/usr/lib"
88+
info "LD FLAGS SELECTED = '${LDFLAGS}'"
89+
8690
#
8791
# build 3rd party libraries
8892
#

contrib/src/curl/SHA512SUMS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
751eefa59dc068eb85a017399bfb482a58fa6e791017a1d9e4bce89f9b744e18be0134696df6fff64ae4498121281d5433cf7af5e8c7fa211c094c21ec6759a9 curl-7.26.0.tar.gz

contrib/src/curl/rules.mak

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# curl
2+
3+
CURL_VERSION := 7.26.0
4+
CURL_URL := http://curl.haxx.se/download/curl-$(CURL_VERSION).tar.gz
5+
6+
$(TARBALLS)/curl-$(CURL_VERSION).tar.gz:
7+
$(call download,$(CURL_URL))
8+
9+
.sum-curl: curl-$(CURL_VERSION).tar.gz
10+
11+
curl: curl-$(CURL_VERSION).tar.gz .sum-curl
12+
$(UNPACK)
13+
$(UPDATE_AUTOCONFIG)
14+
$(MOVE)
15+
16+
17+
.curl: curl
18+
cd $< && $(HOSTVARS) ./configure $(HOSTCONF) \
19+
--with-ssl \
20+
--with-zlib \
21+
cd $< && $(MAKE)
22+
cd $< && $(MAKE) install
23+
touch $@

0 commit comments

Comments
 (0)