diff options
Diffstat (limited to 'Configure.mk')
-rw-r--r-- | Configure.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Configure.mk b/Configure.mk index c7b6ba5bf..e482de6d7 100644 --- a/Configure.mk +++ b/Configure.mk @@ -33,6 +33,9 @@ ifeq ($(CC), i686-w64-mingw32-gcc) else ifeq ($(UNAME), darwin) LIBDIVECOMPUTERINCLUDES = $(shell $(PKGCONFIG) --cflags libdivecomputer) LIBDIVECOMPUTERARCHIVE = $(shell $(PKGCONFIG) --libs libdivecomputer) +else ifeq ($(shell $(PKGCONFIG) --exists libdivecomputer; echo $$?),0) + LIBDIVECOMPUTERINCLUDES = $(shell $(PKGCONFIG) --cflags libdivecomputer) + LIBDIVECOMPUTERARCHIVE = $(shell $(PKGCONFIG) --libs libdivecomputer) else libdc-local := $(wildcard /usr/local/lib/libdivecomputer.a) libdc-local64 := $(wildcard /usr/local/lib64/libdivecomputer.a) |