Skip to content
Snippets Groups Projects
Commit a71a37c0 authored by Christian Engwer's avatar Christian Engwer
Browse files

[dunecontrol]

- fix 1. part of FS#1116

[[Imported from SVN: r6757]]
parent c89be22c
No related branches found
No related tags found
No related merge requests found
...@@ -79,10 +79,10 @@ parse_control() { ...@@ -79,10 +79,10 @@ parse_control() {
# and there is a file ${path}/${name}.pc.in # and there is a file ${path}/${name}.pc.in
local path="$(canonicalpath "$1")" local path="$(canonicalpath "$1")"
if pkg-config $name; then if pkg-config $name; then
local module_prefix=$(canonicalname "$path/../../../") local prefix="$(pkg-config --variable=prefix $name)"
local inst_prefix="$(pkg-config --variable=prefix $name)" local pkgpath=$(canonicalname "$prefix/lib/dunecontrol/${name}")
if test x"$module_prefix" = x"$inst_prefix"; then if test x"$pkgpath" = x"$path"; then
path="$module_prefix" path="$prefix"
export module_inst="yes" export module_inst="yes"
fi fi
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment