From 3a4870b7b731a72a2355eb5085b6eac3108c39f5 Mon Sep 17 00:00:00 2001 From: Markus Teich Date: Wed, 1 Jun 2016 09:59:39 +0200 Subject: [PATCH] fix build system again (now it creates a .la file) --- Makefile.am | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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])])