Skip to content

Commit

Permalink
libssh: simplyfing cmake configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Raue <stephan@openelec.tv>
  • Loading branch information
sraue committed Sep 18, 2016
1 parent 9660108 commit a8d8742
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions packages/network/libssh/package.mk
Expand Up @@ -32,14 +32,7 @@ PKG_LONGDESC="The ssh library was designed to be used by programmers needing a w
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"

configure_target() {
cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_STATIC_LIB=1 \
-DWITH_SERVER="OFF" \
-DWITH_GCRYPT="OFF" \
..
}
PKG_CMAKE_OPTS_TARGET="-DWITH_STATIC_LIB=1 -DWITH_SERVER=OFF -DWITH_GCRYPT=OFF"

makeinstall_target() {
# install static library only
Expand Down

0 comments on commit a8d8742

Please sign in to comment.