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
Branches
Tags
No related merge requests found
......@@ -79,10 +79,10 @@ parse_control() {
# and there is a file ${path}/${name}.pc.in
local path="$(canonicalpath "$1")"
if pkg-config $name; then
local module_prefix=$(canonicalname "$path/../../../")
local inst_prefix="$(pkg-config --variable=prefix $name)"
if test x"$module_prefix" = x"$inst_prefix"; then
path="$module_prefix"
local prefix="$(pkg-config --variable=prefix $name)"
local pkgpath=$(canonicalname "$prefix/lib/dunecontrol/${name}")
if test x"$pkgpath" = x"$path"; then
path="$prefix"
export module_inst="yes"
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment