summaryrefslogtreecommitdiff
blob: 5a7e04419ce635f4b3c6d220a6c6b27ccf868c87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 pdb2pka/Makefile.am           | 2 +-
 pdb2pka/substruct/Makefile.am | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pdb2pka/Makefile.am b/pdb2pka/Makefile.am
index 75f6ffd..e40a2f6 100644
--- a/pdb2pka/Makefile.am
+++ b/pdb2pka/Makefile.am
@@ -16,7 +16,7 @@ SUBDIRS          = substruct
 
 noinst_PROGRAMS         = _pMC_mult.so
 _pMC_mult_so_SOURCES     = pMC_mult.cpp pMC_mult_wrap.cpp  
-_pMC_mult_so_LINK        = $(CXX) -o $@ $(PY_SHARED)
+_pMC_mult_so_LINK        = $(CXX) $(LDFLAGS) -o $@ $(PY_SHARED)
 _pMC_mult_so_LDADD       = $(PY_LDFLAGS)
 
 #all:
diff --git a/pdb2pka/substruct/Makefile.am b/pdb2pka/substruct/Makefile.am
index b1638a0..ae95e94 100644
--- a/pdb2pka/substruct/Makefile.am
+++ b/pdb2pka/substruct/Makefile.am
@@ -15,7 +15,7 @@ CLEANFILES       = Algorithms.so
 
 noinst_PROGRAMS          = Algorithms.so
 Algorithms_so_SOURCES     = Algorithms.cpp  
-Algorithms_so_LINK        = $(CXX) -o $@ $(PY_SHARED)
+Algorithms_so_LINK        = $(CXX) $(LDFLAGS) -o $@ $(PY_SHARED)
 Algorithms_so_LDADD       = $(PY_LDFLAGS)
 
 distclean-local: clean-local