We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79488f5 commit ff6d9a5Copy full SHA for ff6d9a5
1 file changed
dependency-builder/src/main/cpp/pkg-config-static.in
@@ -1,2 +1,8 @@
1
#!/bin/sh
2
-PKG_CONFIG_PATH=@THIRDPARTY_PKG_CONFIG_PATH@ PKG_CONFIG_LIBDIR=@THIRDPARTY_PKG_CONFIG_LIBDIR@ pkg-config --static "$@"
+STATIC=
3
+if test "$#" -ne 1 || test "$1" != "--version"
4
+then
5
+ STATIC="--static"
6
+fi
7
+PKG_CONFIG_PATH=@THIRDPARTY_PKG_CONFIG_PATH@ PKG_CONFIG_LIBDIR=@THIRDPARTY_PKG_CONFIG_LIBDIR@ pkg-config $STATIC "$@"
8
+
0 commit comments