- build as shared library
This commit is contained in:
Stephan Raue 2010-01-13 11:22:54 +01:00
parent aaf15fc1af
commit 293d0189ea
2 changed files with 16 additions and 5 deletions

View File

@ -23,8 +23,7 @@ case $TARGET_ARCH in
esac esac
cd $PKG_BUILD cd $PKG_BUILD
./Configure zlib-dynamic no-shared no-dso no-krb5 --prefix=$SYSROOT_PREFIX/usr $TARGET ./Configure zlib-dynamic threads shared no-idea no-mdc2 no-rc5 no-krb5 --prefix=$SYSROOT_PREFIX/usr $TARGET
make CC=$CC LD=$LD RANLIB=$RANLIB all build-shared
make CC=$CC LD=$LD RANLIB=$RANLIB make CC=$CC LD=$LD RANLIB=$RANLIB do_linux-shared
make CC=$CC LD=$LD RANLIB=$RANLIB install_sw
make install

View File

@ -0,0 +1,12 @@
#!/bin/sh
. config/options
$SCRIPTS/install zlib
mkdir -p $INSTALL/usr/lib
cp -P $PKG_BUILD/libcrypto.so* $INSTALL/usr/lib
cp -P $PKG_BUILD/libssl.so* $INSTALL/usr/lib
mkdir -p $INSTALL/usr/lib/ssl/engines
cp -P $PKG_BUILD/engines/*.so $INSTALL/usr/lib/ssl/engines