From 44998a8bacdebbcb8a204f28248b773c210f790b Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Fri, 3 Jun 2011 22:44:36 +0200 Subject: [PATCH] rules: Add -lm to LDFLAGS Work around a problem in the upstream build system. --- debian/changelog | 5 ++++- debian/rules | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index a6698d2..4fe82a3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,5 +6,8 @@ collection4 (4.0.0-1) experimental; urgency=low * Install into /usr/{share,lib}/collection4/. * debian/patches: - Added css-js-path.dpatch to adjust the path to CSS and JavaScript files. + * debian/rules: + - Add -lm to LDFLAGS to work around a problem in the upstream build + system. - -- Sebastian Harl Fri, 03 Jun 2011 19:39:53 +0200 + -- Sebastian Harl Fri, 03 Jun 2011 22:43:46 +0200 diff --git a/debian/rules b/debian/rules index 17e9846..8e8496b 100755 --- a/debian/rules +++ b/debian/rules @@ -30,7 +30,7 @@ config.status: configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=\$${prefix}/share/man \ - CFLAGS="$(CFLAGS)" + CFLAGS="$(CFLAGS)" LDFLAGS="-lm" build: build-stamp -- 2.30.2