[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gsl] [patch] libgslsiman needs -lm
From: |
Roland Illig |
Subject: |
[Bug-gsl] [patch] libgslsiman needs -lm |
Date: |
Tue, 02 Jan 2007 16:35:59 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.7.12) Gecko/20051220 |
Hi,
on NetBSD (and probably many more systems), libgslsiman.la needs to link
with -lm. The appended patch fixes that.
Roland
$NetBSD: patch-ae,v 1.3 2007/01/01 14:32:29 rillig Exp $
Tags: for-upstream
siman_tsp.c uses many functions from libm.
--- siman/Makefile.am.orig 2007-01-01 15:12:17.000000000 +0100
+++ siman/Makefile.am 2007-01-01 15:13:22.000000000 +0100
@@ -16,6 +16,7 @@ siman_tsp_LDADD = libgslsiman.la ../rng/
CLEANFILES = siman_test.out
libgslsiman_la_SOURCES = siman.c
+libgslsiman_la_LIBADD = -lm
pkginclude_HEADERS = gsl_siman.h
INCLUDES= -I$(top_builddir)
- [Bug-gsl] [patch] libgslsiman needs -lm,
Roland Illig <=