diff --git a/Makefile.am b/Makefile.am index a9a5971..b1ca3d8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,5 +6,5 @@ lib_LTLIBRARIES = \ libbrandt_la_SOURCES = \ smc.c -libbrandt_la_LDADD = \ +libbrandt_la_LIBADD = \ -lpari diff --git a/configure.ac b/configure.ac index 23012e9..307a391 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ AC_CONFIG_SRCDIR([smc.c]) # Checks for programs. AC_PROG_CC_C99 -#AX_APPEND_COMPILE_FLAGS([-std=c99]) +LT_INIT([pic-only]) # Checks for libraries. AC_SEARCH_LIBS([pari_init], [pari], [], [AC_MSG_ERROR([unable to find the pari_init() function from libpari])])