~ubuntu-branches/ubuntu/precise/opendrim-lmp-systemmemory/precise

« back to all changes in this revision

Viewing changes to debian/patches/01-ftbfs-add-opendrim-lib.patch

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Carneiro
  • Date: 2011-07-07 11:09:23 UTC
  • Revision ID: james.westby@ubuntu.com-20110707110923-6hjx1qrt70zcr702
Tags: 1.0.2-0ubuntu2
debian/patches/01-ftbfs-add-openldrim-lib.patch: Added library opendrim to
LIBS variable in check routine of acinclude.m4 to build with ld
--as-needed (LP: #756031)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: To fix FTBFS because of changes in defaults for toolchain (binutils)
 
2
 it is necessary to include library opendrim at linking time. This patch modifies
 
3
 acinclude.m4 adding such library to the LIBS variable.
 
4
 .
 
5
Forwarded: http://sourceforge.net/apps/trac/opendrim/ticket/1
 
6
Author: Sebastian Carneiro <scarneiro@fibertel.com.ar>
 
7
Last-Update: 2011-07-06
 
8
 
 
9
Index: opendrim-lmp-systemmemory/acinclude.m4
 
10
===================================================================
 
11
--- opendrim-lmp-systemmemory.orig/acinclude.m4 2011-07-06 10:15:55.187179001 -0300
 
12
+++ opendrim-lmp-systemmemory/acinclude.m4      2011-07-06 10:16:48.927200594 -0300
 
13
@@ -261,6 +261,7 @@
 
14
        if test -e $OPENDRIMCOMMONLIBDIR/libopendrim.so
 
15
        then
 
16
                AC_MSG_RESULT(yes)
 
17
+               LIBS="${LIBS} -lopendrim"
 
18
        else
 
19
                AC_MSG_ERROR([[no. The OpenDRIM Common library could not be found (libopendrim.so)]])
 
20
        fi