Skip to content

Commit

Permalink
igraph: Build only the static lib
Browse files Browse the repository at this point in the history
-fPIC ensures that the result can also be used in foreign modules.
  • Loading branch information
thomas committed Jun 26, 2019
1 parent d3a5e58 commit 4b1d6dd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions igraph.be0
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -47,9 +49,9 @@ build_in_sourcedir
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}
mee_configure() {
bee_configure --enable-shared=no
}

#mee_build() {
# bee_build
Expand Down

0 comments on commit 4b1d6dd

Please sign in to comment.