Code

rules: Add -lm to LDFLAGS
authorSebastian Harl <sh@tokkee.org>
Fri, 3 Jun 2011 20:44:36 +0000 (22:44 +0200)
committerSebastian Harl <sh@tokkee.org>
Fri, 3 Jun 2011 20:44:36 +0000 (22:44 +0200)
Work around a problem in the upstream build system.

debian/changelog
debian/rules

index a6698d2bb09d299676166de17ba3e617dc055f5e..4fe82a3a17bafe1cd7b7c287fdb0ab5bb52d8101 100644 (file)
@@ -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 <tokkee@debian.org>  Fri, 03 Jun 2011 19:39:53 +0200
+ -- Sebastian Harl <tokkee@debian.org>  Fri, 03 Jun 2011 22:43:46 +0200
index 17e9846b3b3388167d2aedce5e464c15c09a3946..8e8496baafbff0d77a36f262a4b318232948249a 100755 (executable)
@@ -30,7 +30,7 @@ config.status: configure
                        --prefix=/usr \
                        --sysconfdir=/etc \
                        --mandir=\$${prefix}/share/man \
-                       CFLAGS="$(CFLAGS)"
+                       CFLAGS="$(CFLAGS)" LDFLAGS="-lm"
 
 build: build-stamp