Explorar o código

Append --static to pkg-config arguments when ARIA2_STATIC=yes

Tatsuhiro Tsujikawa %!s(int64=12) %!d(string=hai) anos
pai
achega
994eb551f1
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      configure.ac

+ 2 - 0
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=