summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-04-13 00:47:38 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-04-13 00:47:38 +0900
commit994eb551f18bbaea399b5fc564df80dd18a241c7 (patch)
treefd4c061efffd4efa1430e8458dbd6786fdb5793f
parent4070113ef0fef840a0fdd5104c38fb23cd0008eb (diff)
Append --static to pkg-config arguments when ARIA2_STATIC=yes
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f39ff0a9..bc43e058 100644
--- a/configure.ac
+++ b/configure.ac
@@ -87,6 +87,8 @@ if test "x$ARIA2_STATIC" = "xyes"; then
CPPFLAGS="-D_USE_32BIT_TIME_T $CPPFLAGS"
;;
esac
+ # Make pkg-config produce static linking variables
+ PKG_CONFIG="$PKG_CONFIG --static"
else
dnl Make variable empty to avoid confusion
ARIA2_STATIC=