Blame astrometry-Fix-issues-when-using-Debian-libs-instead-of-convienience.patch

23dea7
From: Ole Streicher <olebole@debian.org>
23dea7
Date: Thu, 1 Dec 2016 21:18:56 +0100
23dea7
Subject: Fix issues when using Debian libs instead of convienience copies
23dea7
23dea7
---
23dea7
 util/Makefile     | 2 +-
23dea7
 util/makefile.gsl | 2 +-
23dea7
 2 files changed, 2 insertions(+), 2 deletions(-)
23dea7
23dea7
diff --git a/util/Makefile b/util/Makefile
23dea7
index 0ecf716..f154f6f 100644
23dea7
--- a/util/Makefile
23dea7
+++ b/util/Makefile
23dea7
@@ -86,7 +86,7 @@ CFLAGS += -I.
23dea7
 
23dea7
 LDFLAGS += $(LDFLAGS_DEF)
23dea7
 
23dea7
-LDLIBS := $(LDLIBS_DEF) -lm
23dea7
+LDLIBS := $(LDLIBS_DEF) -lwcs -lgsl -lgslcblas -lm
23dea7
 
23dea7
 SHAREDLIBFLAGS := $(SHAREDLIBFLAGS_DEF)
23dea7
 
23dea7
diff --git a/util/makefile.gsl b/util/makefile.gsl
23dea7
index cb7831f..5c137c6 100644
23dea7
--- a/util/makefile.gsl
23dea7
+++ b/util/makefile.gsl
23dea7
@@ -2,7 +2,7 @@
23dea7
 # Licensed under a 3-clause BSD style license - see LICENSE
23dea7
 
23dea7
 # On by default?  This doesn't seem to work
23dea7
-#SYSTEM_GSL ?= $(shell pkg-config --modversion gsl >/dev/null 2>/dev/null && echo yes)
23dea7
+SYSTEM_GSL ?= yes
23dea7
 
23dea7
 ifeq ($(SYSTEM_GSL),yes)
23dea7