1 LDFLAGS += -L$(ROOTDIR)/$(LIBCDIR)/lib
4 # latest versions are in git
5 # git://stlport.git.sourceforge.net/gitroot/stlport/stlport
6 # look at moving to git version soon
9 STLPORT_CFLAGS = -D_GLIBCXX_HAVE_MBSTATE_T=1
11 STLPORT_PKG := STLport-5.2.1
12 $(STLPORT_PKG)_URL := http://downloads.sourceforge.net/project/stlport/STLport/STLport-5.2.1/STLport-5.2.1.tar.bz2
13 $(STLPORT_PKG)_NODEFCONF := 1
14 $(STLPORT_PKG)_CONFOPTS := \
16 --target=$(CONFIGURE_HOST) \
17 --with-extra-cxxflags="${CXXFLAGS} ${CPPFLAGS} $(STLPORT_CFLAGS)" \
18 --with-extra-cflags="${CFLAGS} ${CPPFLAGS}" \
19 --with-extra-ldflags="${LDFLAGS}"
20 ifndef CONFIG_LIB_STLPORT_SHARED
21 $(STLPORT_PKG)_CONFOPTS += --enable-static --disable-shared
23 $(STLPORT_PKG)_CONFOPTS += --use-static-gcc
26 AUTOMAKE_y += $(STLPORT_PKG)
27 AUTOMAKE_ROMFS = stlport_romfs
29 include $(ROOTDIR)/tools/automake.inc
32 $(ROMFSINST) -e CONFIG_LIB_STLPORT_SHARED \
33 build/$(STLPORT_PKG)-install/lib/libstlport.so.5.2.1 /lib/libstlport.so.5.2.1
34 $(ROMFSINST) -e CONFIG_LIB_STLPORT_SHARED -s \
35 libstlport.so.5.2.1 /lib/libstlport.so.5.2; \