Fixed SONAME

This commit is contained in:
Armin Novak 2017-01-17 13:17:25 +01:00
parent 6d93b92d64
commit 5be65ac76e
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ function build {
common_run mkdir -p $DST_DIR
fi
common_run ${CROSS_COMPILE}gcc --sysroot=${CROSS_SYSROOT} -shared -o $DST_DIR/libfreerdp-openssl.so -Wl,-whole-archive libcrypto.a libssl.a -Wl,-no-whole-archive
SONAME=libfreerdp-openssl.so
common_run ${CROSS_COMPILE}gcc --sysroot=${CROSS_SYSROOT} -shared -fPIC -Wl,-soname,$SONAME -o $DST_DIR/$SONAME -Wl,-whole-archive libcrypto.a libssl.a -Wl,-no-whole-archive
common_run cd $BASE
}