blob: 54b66235a2d0ead6197cbaee1fe446797dc95051 (
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
|
diff --git a/tools/python/Makefile.am b/tools/python/Makefile.am
index 73d25f7..431640c 100644
--- a/tools/python/Makefile.am
+++ b/tools/python/Makefile.am
@@ -15,5 +15,5 @@ SUBDIRS = vgrid
noinst_PROGRAMS = _apbslib.so
_apbslib_so_SOURCES = apbslib.c
-_apbslib_so_LINK = $(PY_CC) $(PY_LINKFLAGS) -o $@ $(PY_SHARED)
-_apbslib_so_LDADD = ${top_builddir}/bin/.libs/libapbsmainroutines.a ${top_builddir}/src/aaa_lib/.libs/libapbs.a ${top_builddir}/contrib/lib/libmaloc.a ${top_builddir}/contrib/blas/.libs/libapbsblas.a $(PY_LDFLAGS) ${z_lib}
+_apbslib_so_LINK = $(PY_CC) $(PY_LINKFLAGS) $(LDFLAGS) -o $@ $(PY_SHARED)
+_apbslib_so_LDADD = ${top_builddir}/bin/.libs/libapbsmainroutines.a ${top_builddir}/src/aaa_lib/.libs/libapbs.a $(PY_LDFLAGS) ${z_lib}
diff --git a/tools/python/vgrid/Makefile.am b/tools/python/vgrid/Makefile.am
index b573268..b31c9b6 100644
--- a/tools/python/vgrid/Makefile.am
+++ b/tools/python/vgrid/Makefile.am
@@ -15,6 +15,6 @@ CLEANFILES = _vgrid.so
if PY_PRESENT
noinst_PROGRAMS = _vgrid.so
_vgrid_so_SOURCES = vgridlib.c
- _vgrid_so_LINK = $(PY_CC) $(PY_LINKFLAGS) -o $@ $(PY_SHARED)
- _vgrid_so_LDADD = ${top_builddir}/bin/.libs/libapbsmainroutines.a ${top_builddir}/src/aaa_lib/.libs/libapbs.a $(PY_LDFLAGS) ${top_builddir}/contrib/lib/libmaloc.a @lib_list@
+ _vgrid_so_LINK = $(PY_CC) $(PY_LINKFLAGS) $(LDFLAGS) -o $@ $(PY_SHARED)
+ _vgrid_so_LDADD = ${top_builddir}/bin/.libs/libapbsmainroutines.a ${top_builddir}/src/aaa_lib/.libs/libapbs.a @lib_list@
endif
|