components/pinentry/Makefile
changeset 7829 2de4f4ace09c
parent 7687 1093e2a9adbd
--- a/components/pinentry/Makefile	Tue Apr 04 10:36:17 2017 -0700
+++ b/components/pinentry/Makefile	Tue Apr 04 16:12:22 2017 -0700
@@ -74,10 +74,8 @@
 CFLAGS += $(CC_PIC)
 
 # prevent libtool from removing these
-ifeq ($(OS_VERSION),5.11)
-LDFLAGS += -lsocket -lnsl
-LIBS += -lsocket -lnsl
-endif
+LDFLAGS += $(LIBSOCKET) $(LIBNSL)
+LIBS += $(LIBSOCKET) $(LIBNSL)
 
 LDFLAGS += -lpkcs11
 LIBS += -lpkcs11