vapier      14/04/23 19:49:03

  Added:                numad-0.5-ldlibs.patch
  Log:
  Fix building with SYMLINK_LIB=no #505760 by Georgi Georgiev. Sync the 
non-9999 and 9999 ebuild versions.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
D2E96200)

Revision  Changes    Path
1.1                  sys-process/numad/files/numad-0.5-ldlibs.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/numad/files/numad-0.5-ldlibs.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/numad/files/numad-0.5-ldlibs.patch?rev=1.1&content-type=text/plain

Index: numad-0.5-ldlibs.patch
===================================================================
>From 9eb3cc5c51d846c8c8b750a4eb55545d7b5fea6c Mon Sep 17 00:00:00 2001
From: Mike Frysinger <[email protected]>
Date: Wed, 23 Apr 2014 15:41:26 -0400
Subject: [PATCH] use LDLIBS for linker flags

When you put -lfoo into the dependency line of make, it forces it to
search /lib and /usr/lib for files to link against.  This can cause
problems when trying to cross-compile or build for different ABIs.
Use the standard LDLIBS variable instead.

URL: https://bugs.gentoo.org/505760
Reported-by: Georgi Georgiev <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index f3838b4..f2e9a6e 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,8 @@ docdir := ${prefix}/share/doc
 
 all: numad
 
-numad: numad.o -lpthread
+LDLIBS := -lpthread
+numad: numad.o
 
 AR ?= ar
 RANLIB ?= ranlib
-- 
1.9.2





Reply via email to