components/libmemcached/Makefile
changeset 7829 2de4f4ace09c
parent 7687 1093e2a9adbd
--- a/components/libmemcached/Makefile	Tue Apr 04 10:36:17 2017 -0700
+++ b/components/libmemcached/Makefile	Tue Apr 04 16:12:22 2017 -0700
@@ -38,8 +38,8 @@
 
 include $(WS_MAKE_RULES)/common.mk
 
-ifeq ($(OS_VERSION),5.11)
-LDFLAGS += -lsocket -lnsl
+LDFLAGS += $(LIBSOCKET) $(LIBNSL)
+ifeq ($(OS_VERSION),11.3)
 CONFIGURE_OPTIONS += ax_cv_check_cflags__Werror__fPIE=no
 CONFIGURE_OPTIONS += ax_cv_check_cflags__Werror__pie=no
 CONFIGURE_OPTIONS += ax_cv_check_cxxflags__Werror__fPIE=no