From 4b1d6dd480b8e9afeac5b7e8a7ac75eaea0b3ca9 Mon Sep 17 00:00:00 2001 From: thomas Date: Wed, 26 Jun 2019 13:44:15 +0200 Subject: [PATCH] igraph: Build only the static lib -fPIC ensures that the result can also be used in foreign modules. --- igraph.be0 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/igraph.be0 b/igraph.be0 index 5180f31b7..3be7fb28e 100755 --- a/igraph.be0 +++ b/igraph.be0 @@ -11,6 +11,8 @@ SRCURL[0]="https://github.com/igraph/igraph/releases/download/${PKGVERSION}/igraph-${PKGVERSION}.tar.gz" +export CFLAGS='-fPIC -O2' + ############################################################################### ## Add URLs/pathes to patch files to the PATCHURL array. ## The sources will be patched in the order of the array. @@ -47,9 +49,9 @@ build_in_sourcedir # bee_patch "${@}" #} -#mee_configure() { -# bee_configure -#} +mee_configure() { + bee_configure --enable-shared=no +} #mee_build() { # bee_build