diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2016-05-05 15:18:58 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2016-05-05 15:18:58 +0100 |
commit | fe4e9470bb504357d073320f5d305b22663ee3fd (patch) | |
tree | 876daac18edfcf3ab1cb179ab6635c7a57733b5a | |
parent | 29763d006a89e4bd865bbe5b880a85a05571a8fa (diff) | |
download | rtmux-fe4e9470bb504357d073320f5d305b22663ee3fd.tar.gz rtmux-fe4e9470bb504357d073320f5d305b22663ee3fd.tar.bz2 rtmux-fe4e9470bb504357d073320f5d305b22663ee3fd.zip |
Add --static to PKG_CONFIG rather than replacing it.
-rw-r--r-- | compat.h | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -190,7 +190,7 @@ typedef uint64_t u_int64_t; #ifndef HAVE_CLOSEFROM /* closefrom.c */ -void closefrom(int); +void closefrom(int); #endif #ifndef HAVE_STRCASESTR diff --git a/configure.ac b/configure.ac index d66291f2..3692a521 100644 --- a/configure.ac +++ b/configure.ac @@ -48,7 +48,7 @@ AC_ARG_ENABLE( ) if test "x$found_static" = xyes; then LDFLAGS="$LDFLAGS -static" - PKG_CONFIG="pkg-config --static" + test "x$PKG_CONFIG" != x && PKG_CONFIG="$PKG_CONFIG --static" fi # Is this gcc? |