Skip to content

Commit

Permalink
Run pkg-config with --static is --disable-shared is given
Browse files Browse the repository at this point in the history
  • Loading branch information
erlend-aasland committed Dec 29, 2024
1 parent 478374c commit f86319e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1472,6 +1472,9 @@ then
fi
AC_MSG_RESULT([$enable_shared])

AS_VAR_IF([enable_shared], [no],
[PKG_CONFIG="$PKG_CONFIG --static"])

# --with-static-libpython
STATIC_LIBPYTHON=1
AC_MSG_CHECKING([for --with-static-libpython])
Expand Down

0 comments on commit f86319e

Please sign in to comment.