aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2016-08-27 09:23:00 +0100
committerChristopher Baines <mail@cbaines.net>2016-09-03 12:20:26 +0100
commit987080448d890339aaea2597cf3cdb6a8eee74b4 (patch)
tree5c5f75c1367fbd016812f6d28db64856db00e5a1
parentb8070b91886c016397ceba4ca81658d98a514c38 (diff)
downloadpyguile-987080448d890339aaea2597cf3cdb6a8eee74b4.tar
pyguile-987080448d890339aaea2597cf3cdb6a8eee74b4.tar.gz
Fix the LDFLAGS
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 531c065..696bdaa 100644
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,7 @@ EXTRACT_CONVERSION_EXPORTS = python $(EXTRACT_CONVERSION_FUNCTIONS_PY) --scm pyg
CDEBUG = -g -Wall
CFLAGS = $(CDEBUG) `guile-config compile` $(PYINC) $(GCOVFLAGS)
CPPFLAGS = `guile-config compile` $(PYINC)
-LDFLAGS = `guile-config link` $(GCOVFLAGS)
+LDFLAGS = $(shell guile-config link) $(GCOVFLAGS) -Wl,-rpath="$(shell python-config --prefix)/lib"
RM = rm -v