components/rtorrent/Makefile
changeset 7829 2de4f4ace09c
parent 7687 1093e2a9adbd
--- a/components/rtorrent/Makefile	Tue Apr 04 10:36:17 2017 -0700
+++ b/components/rtorrent/Makefile	Tue Apr 04 16:12:22 2017 -0700
@@ -55,9 +55,7 @@
 CXXFLAGS += -std=c++11
 
 LDFLAGS += -L$(GNULIB64) -R$(GNULIB64)
-ifeq ($(OS_VERSION),5.11)
-LDFLAGS += -lnsl -lsocket
-endif
+LDFLAGS += $(LIBNSL) $(LIBSOCKET)
 
 CXXFLAGS +=		-I$(USRINCDIR)/ncurses
 CONFIGURE_OPTIONS.64 +=	--srcdir=$(BUILD_DIR_64)