components/unixodbc/Makefile
changeset 7829 2de4f4ace09c
parent 7687 1093e2a9adbd
--- a/components/unixodbc/Makefile	Tue Apr 04 10:36:17 2017 -0700
+++ b/components/unixodbc/Makefile	Tue Apr 04 16:12:22 2017 -0700
@@ -62,10 +62,7 @@
 X11LIB.32 = $(CONFIGURE_LIBDIR.32)
 X11LIB.64 = $(CONFIGURE_LIBDIR.64)
 
-ifeq ($(OS_VERSION),5.11)
-LD_OPTIONS += -lsocket -lnsl
-endif
-
+LD_OPTIONS += $(LIBSOCKET) $(LIBNSL)
 LD_OPTIONS += -lresolv -lgen
 
 CONFIGURE_OPTIONS  +=	--includedir=$(CONFIGURE_PREFIX)/include/odbc