tinyxml: cross build support.
This commit is contained in:
parent
977d925648
commit
7fef623e3b
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue