tinyxml: cross build support.

This commit is contained in:
Juan RP 2013-04-06 12:17:47 +02:00
parent 977d925648
commit 7fef623e3b

View file

@ -18,8 +18,8 @@ do_build() {
-e '/^TINYXML_USE_STL/ s|=.*|=YES|' \
-e "s|^RELEASE_CFLAGS.*|& ${CXXFLAGS} -fPIC|" Makefile
make ${makejobs}
g++ -fPIC ${CXXFLAGS} -shared -o lib${sourcepkg}.so.0.${version} \
make CXX="$CXX" CC="$CC" LD="$CXX" ${makejobs}
${CXX} -fPIC ${CXXFLAGS} -shared -o lib${sourcepkg}.so.0.${version} \
-Wl,-soname,lib${sourcepkg}.so.0 $(ls *.o | grep -v xmltest)
}