diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-01-30 14:30:03 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-01-30 14:30:03 +0000 |
commit | 013a7a0aa76b6ec65807fecbc8a70849447f1e76 (patch) | |
tree | 279a940e36b033bc663afebe9377a77431d9174b /misc | |
parent | 3343d52e459bfc9c9db28dcba7afb0c6e2f05f59 (diff) | |
download | xine-lib-013a7a0aa76b6ec65807fecbc8a70849447f1e76.tar.gz xine-lib-013a7a0aa76b6ec65807fecbc8a70849447f1e76.tar.bz2 |
Make sure that PKG_CONFIG_PATH is set properly by xine-config.
--HG--
rename : misc/xine-config => misc/xine-config.in
Diffstat (limited to 'misc')
-rw-r--r-- | misc/Makefile.am | 1 | ||||
-rw-r--r-- | misc/xine-config.in (renamed from misc/xine-config) | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/misc/Makefile.am b/misc/Makefile.am index 70cbe59ee..ef61b325d 100644 --- a/misc/Makefile.am +++ b/misc/Makefile.am @@ -17,7 +17,6 @@ EXTRA_DIST = build_rpms.sh \ bin_SCRIPTS = xine-config -pkgconfigdir=$(libdir)/pkgconfig pkgconfig_DATA=libxine.pc xine-fontconv: xine-fontconv.c diff --git a/misc/xine-config b/misc/xine-config.in index 5723a1a46..719d9667e 100644 --- a/misc/xine-config +++ b/misc/xine-config.in @@ -6,6 +6,11 @@ unset prefix unset exec_prefix unset args +PKG_CONFIG_PATH="$(cat <<'EOF' +@XINE_PKGCONFIG_DIR@ +EOF +)${PKG_CONFIG_PATH:+:}$PKG_CONFIG_PATH" + usage() { cat <<EOF |