diff -Nurd -x'*~' 4ti2-1.6.6.orig/src/groebner/Makefile.in 4ti2-1.6.6/src/groebner/Makefile.in --- 4ti2-1.6.6.orig/src/groebner/Makefile.in 2015-06-07 22:24:50.000000000 -0400 +++ 4ti2-1.6.6/src/groebner/Makefile.in 2015-06-11 01:16:06.000000000 -0400 @@ -924,7 +924,7 @@ nodist_bin_SCRIPTS = $(WRAPPERSCRIPTS) DISTCLEANFILES = $(WRAPPERSCRIPTS) -AM_LDFLAGS = -L../4ti2 -R$(libdir) -l4ti2common -no-undefined +AM_LDFLAGS = -R$(libdir) ../4ti2/lib4ti2common.la -no-undefined # 16 bit precision flags. # 4ti2int16_LDADD = lib4ti2int16.la diff -Nurd -x'*~' 4ti2-1.6.6.orig/src/zsolve/Makefile.in 4ti2-1.6.6/src/zsolve/Makefile.in --- 4ti2-1.6.6.orig/src/zsolve/Makefile.in 2015-06-07 22:24:50.000000000 -0400 +++ 4ti2-1.6.6/src/zsolve/Makefile.in 2015-06-11 01:16:06.000000000 -0400 @@ -603,7 +603,7 @@ # Link in the "common" 4ti2 functions. # -no-undefined declares that no undefined symbols will remain after linking all these libraries. # (This is necessary to build shared libraries on Cygwin.) -libzsolve_la_LDFLAGS = -L../4ti2 -R$(libdir) -l4ti2common ${GMP_LIBS} -no-undefined +libzsolve_la_LDFLAGS = -R$(libdir) ../4ti2/lib4ti2common.la ${GMP_LIBS} -no-undefined bin_SCRIPTS = hilbert graver DISTCLEANFILES = hilbert graver EXTRA_DIST = hilbert.template graver.template