components/imagemagick/Makefile
changeset 7829 2de4f4ace09c
parent 7687 1093e2a9adbd
child 7887 2143681d78e2
--- a/components/imagemagick/Makefile	Tue Apr 04 10:36:17 2017 -0700
+++ b/components/imagemagick/Makefile	Tue Apr 04 16:12:22 2017 -0700
@@ -69,10 +69,8 @@
 	-e 's|need_relink=yes|need_relink=not_on_solaris|' \
 	libtool)
 
-ifeq ($(OS_VERSION),5.11)
-LIBS += -lsocket -lnsl
+LIBS += $(LIBSOCKET) $(LIBNSL)
 CONFIGURE_ENV += LIBS="$(LIBS)"
-endif
 
 # Prevent older versions of libMagick{Core,Wand}-6.Q16.so from the build
 # machine from being found ahead of new versions from the proto area.