summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-02-22 12:39:59 +0100
committerMax Kellermann <max@musicpd.org>2019-02-22 12:39:59 +0100
commitc672b60d07003d7017c051314bdbdc1f13afffee (patch)
tree44fd57d13eabdbf662c2d51cc60f3ebeb6a97837 /build
parentea269c9c92bb9813d00d077fb4297b6851c4449a (diff)
build/pkg-config.sh: add comment
Diffstat (limited to 'build')
-rwxr-xr-xbuild/pkg-config.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/pkg-config.sh b/build/pkg-config.sh
index 7c021dbce..18ec25be6 100755
--- a/build/pkg-config.sh
+++ b/build/pkg-config.sh
@@ -1,5 +1,9 @@
#!/bin/sh -e
+# This is a wrapper for pkg-config which helps with cross-compiling;
+# it sets up environment variables to pkg-config searches for
+# libraries in the sysroot where a copy of this script is located.
+
BIN=`dirname $0`
ROOT=`dirname "$BIN"`