components/opensp/Makefile
changeset 7829 2de4f4ace09c
parent 7687 1093e2a9adbd
--- a/components/opensp/Makefile	Tue Apr 04 10:36:17 2017 -0700
+++ b/components/opensp/Makefile	Tue Apr 04 16:12:22 2017 -0700
@@ -46,9 +46,7 @@
 CONFIGURE_OPTIONS +=	--disable-http
 CONFIGURE_OPTIONS +=	--disable-nls
 CONFIGURE_OPTIONS +=	--enable-default-catalog="CATALOG:/etc/sgml/catalog:/usr/share/sgml/CATALOG"
-ifeq ($(OS_VERSION),5.11)
-EXTRA_LIBRARIES =     -lsocket -lnsl
-endif
+EXTRA_LIBRARIES =	$(LIBSOCKET) $(LIBNSL)
 CONFIGURE_OPTIONS +=	LDFLAGS="$(LDFLAGS) $(EXTRA_LIBRARIES)"
 
 # 21786575 for gmake test failures