~ubuntu-branches/ubuntu/vivid/augeas/vivid-proposed

« back to all changes in this revision

Viewing changes to debian/patches/0003_Link_pthread.patch

  • Committer: Package Import Robot
  • Author(s): Raphaël Pinson
  • Date: 2014-12-01 10:49:19 UTC
  • mfrom: (1.6.1) (24.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20141201104919-lalkacyk0i5fndg5
Tags: 1.3.0-0ubuntu1
* New upstream version
* Include d/p/0003_Link_pthread.patch again

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: augeas-1.1.0/gnulib/tests/Makefile.am
 
2
===================================================================
 
3
--- augeas-1.1.0.orig/gnulib/tests/Makefile.am  2013-12-19 00:53:26.187799730 +1100
 
4
+++ augeas-1.1.0/gnulib/tests/Makefile.am       2013-12-19 00:53:26.183799736 +1100
 
5
@@ -507,6 +507,7 @@
 
6
 
 
7
 TESTS += test-lock
 
8
 check_PROGRAMS += test-lock
 
9
+test_lock_LDFLAGS = -Wl,--no-as-needed
 
10
 test_lock_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@
 
11
 EXTRA_DIST += test-lock.c
 
12
 
 
13
@@ -972,6 +973,7 @@
 
14
 TESTS += test-thread_self test-thread_create
 
15
 check_PROGRAMS += test-thread_self test-thread_create
 
16
 test_thread_self_LDADD = $(LDADD) @LIBTHREAD@
 
17
+test_thread_create_LDFLAGS = -Wl,--no-as-needed
 
18
 test_thread_create_LDADD = $(LDADD) @LIBMULTITHREAD@
 
19
 EXTRA_DIST += test-thread_self.c test-thread_create.c macros.h
 
20