1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: Inject LDFLAGS when linking shared library
Author: Sébastien Villemot <sebastien@debian.org>
Forwarded: no
Last-Update: 2014-02-12
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/Makefile
+++ b/src/Makefile
@@ -47,7 +47,7 @@ solib: ../libqrupdate$(SOEXT)
ar -cr $@ $(OBJS)
../libqrupdate.so: $(OBJS)
- $(FC) $(FFLAGS) -shared -o $@ -Wl,-soname=libqrupdate.so.$(MAJOR) $(OBJS) \
+ $(FC) $(FFLAGS) $(LDFLAGS) -shared -o $@ -Wl,-soname=libqrupdate.so.$(MAJOR) $(OBJS) \
$(BLAS) $(LAPACK)
../libqrupdate.dylib: $(OBJS)
|