Skip to content
Snippets Groups Projects
Commit 2a83d5d0 authored by Markus Blatt's avatar Markus Blatt
Browse files

Only check default installation if dune-common is not found via pkg-config.

Fixes flyspray 1260.
PLEASE REVIEW!


[[Imported from SVN: r7387]]
parent b94d791b
No related branches found
No related tags found
No related merge requests found
......@@ -167,7 +167,7 @@ setup_control_path() {
if test -z $DUNE_CONTROL_PATH; then
DUNE_CONTROL_PATH=.
# try pkg-config locations
if pkg-config dune-common; then
if ! pkg-config dune-common; then
# try usual locations of installed modules
for i in /usr/local/lib/dunecontrol/ /usr/lib/dunecontrol/; do
if test -d $i; then
......
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