summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2009-03-05 23:11:52 +0000
committerAlin Năstac <mrness@gentoo.org>2009-03-05 23:11:52 +0000
commitfa4fc7de81f89f56140459b96bf905f73b7fe852 (patch)
treeb41c67a2d95ebec9cf157ee7f864c90cde1c1ead /net-dialup
parentFix compile errors on systems with libtool-2 (#261189). Add readline and libp... (diff)
downloadgentoo-2-fa4fc7de81f89f56140459b96bf905f73b7fe852.tar.gz
gentoo-2-fa4fc7de81f89f56140459b96bf905f73b7fe852.tar.bz2
gentoo-2-fa4fc7de81f89f56140459b96bf905f73b7fe852.zip
Use $LIBS instead -lpthread, since thread support could be disabled through configure options.
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/freeradius/files/freeradius-2.1.3-qafixes.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-dialup/freeradius/files/freeradius-2.1.3-qafixes.patch b/net-dialup/freeradius/files/freeradius-2.1.3-qafixes.patch
index 088784c368c0..2dce55e98fcc 100644
--- a/net-dialup/freeradius/files/freeradius-2.1.3-qafixes.patch
+++ b/net-dialup/freeradius/files/freeradius-2.1.3-qafixes.patch
@@ -30,7 +30,7 @@ diff -Nru freeradius-server-2.1.3.orig/src/lib/Makefile freeradius-server-2.1.3/
$(TARGET).la: $(LT_OBJS)
$(LIBTOOL) --mode=link $(CC) -release $(RADIUSD_VERSION) \
- $(LDFLAGS) $(LINK_MODE) -o $@ -rpath $(libdir) $^
-+ $(LDFLAGS) $(LINK_MODE) -o $@ -rpath $(libdir) $^ -lpthread
++ $(LDFLAGS) $(LINK_MODE) -o $@ -rpath $(libdir) $^ $(LIBS)
$(LT_OBJS): $(INCLUDES)