diff -Naur apbs-1.0.0-source/tools/python/Makefile.am apbs-1.0.0-source.new/tools/python/Makefile.am --- apbs-1.0.0-source/tools/python/Makefile.am 2008-04-17 16:41:08.000000000 -0400 +++ apbs-1.0.0-source.new/tools/python/Makefile.am 2008-10-11 11:54:17.000000000 -0400 @@ -15,5 +15,5 @@ noinst_PROGRAMS = _apbslib.so _apbslib_so_SOURCES = apbslib.c -_apbslib_so_LINK = $(PY_CC) $(PY_LINKFLAGS) -o $@ $(PY_SHARED) +_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 ${top_builddir}/contrib/lib/libmaloc.a $(PY_LDFLAGS) diff -Naur apbs-1.0.0-source/tools/python/vgrid/Makefile.am apbs-1.0.0-source.new/tools/python/vgrid/Makefile.am --- apbs-1.0.0-source/tools/python/vgrid/Makefile.am 2008-04-17 16:41:08.000000000 -0400 +++ apbs-1.0.0-source.new/tools/python/vgrid/Makefile.am 2008-10-11 12:02:02.000000000 -0400 @@ -15,6 +15,6 @@ if PY_PRESENT noinst_PROGRAMS = _vgrid.so _vgrid_so_SOURCES = vgridlib.c - _vgrid_so_LINK = $(PY_CC) $(PY_LINKFLAGS) -o $@ $(PY_SHARED) + _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 $(PY_LDFLAGS) ${top_builddir}/contrib/lib/libmaloc.a @lib_list@ endif