netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Link directly to the archive files rather than using search paths.
@ 2010-12-10  0:56 Diego Elio Pettenò
  2010-12-10  1:56 ` Stephen Hemminger
  0 siblings, 1 reply; 4+ messages in thread
From: Diego Elio Pettenò @ 2010-12-10  0:56 UTC (permalink / raw)
  To: netdev; +Cc: Daniel Kurtz, Mike Frysinger

While the previous code was supposed to work nonetheless, it could be
messed up if further -L were used in LDFLAGS to list the path where glibc's
libutil was to be found.

References: https://bugs.gentoo.org/347489

CC: Daniel Kurtz <djkurtz@google.com>
CC: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Diego Elio Pettenò <flameeyes@gmail.com>
---
 Makefile |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index c03d74c..d1ace1f 100644
--- a/Makefile
+++ b/Makefile
@@ -33,11 +33,10 @@ CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
 CFLAGS = $(CCOPTS) -I../include $(DEFINES)
 YACCFLAGS = -d -t -v
 
-LDLIBS += -L../lib -lnetlink -lutil
-
 SUBDIRS=lib ip tc misc netem genl
 
 LIBNETLINK=../lib/libnetlink.a ../lib/libutil.a
+LDLIBS += $(LIBNETLINK)
 
 all: Config
 	@set -e; \
-- 
1.7.3.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-10  4:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-10  0:56 [PATCH] Link directly to the archive files rather than using search paths Diego Elio Pettenò
2010-12-10  1:56 ` Stephen Hemminger
2010-12-10  2:02   ` Diego Elio Pettenò
2010-12-10  4:03     ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).