Blob Blame Raw
From: Ole Streicher <olebole@debian.org>
Date: Thu, 1 Dec 2016 21:18:56 +0100
Subject: Fix issues when using Debian libs instead of convienience copies

---
 util/Makefile     | 2 +-
 util/makefile.gsl | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/util/Makefile b/util/Makefile
index 0ecf716..f154f6f 100644
--- a/util/Makefile
+++ b/util/Makefile
@@ -86,7 +86,7 @@ CFLAGS += -I.
 
 LDFLAGS += $(LDFLAGS_DEF)
 
-LDLIBS := $(LDLIBS_DEF) -lm
+LDLIBS := $(LDLIBS_DEF) -lwcs -lgsl -lgslcblas -lm
 
 SHAREDLIBFLAGS := $(SHAREDLIBFLAGS_DEF)
 
diff --git a/util/makefile.gsl b/util/makefile.gsl
index cb7831f..5c137c6 100644
--- a/util/makefile.gsl
+++ b/util/makefile.gsl
@@ -2,7 +2,7 @@
 # Licensed under a 3-clause BSD style license - see LICENSE
 
 # On by default?  This doesn't seem to work
-#SYSTEM_GSL ?= $(shell pkg-config --modversion gsl >/dev/null 2>/dev/null && echo yes)
+SYSTEM_GSL ?= yes
 
 ifeq ($(SYSTEM_GSL),yes)