components/imagemagick/Makefile
changeset 4959 a998fbbcbd44
parent 4869 86742f9e20a9
child 5638 b88b6c00208e
--- a/components/imagemagick/Makefile	Mon Sep 28 11:14:17 2015 -0700
+++ b/components/imagemagick/Makefile	Mon Sep 28 10:37:03 2015 -0700
@@ -56,6 +56,11 @@
 # to the build directory
 COMPONENT_PRE_CONFIGURE_ACTION= ($(CP) -R $(SOURCE_DIR)/PerlMagick $(@D))
 
+ifeq ($(OS_VERSION),5.11)
+LIBS += -lsocket -lnsl
+CONFIGURE_ENV += LIBS="$(LIBS)"
+endif
+
 # Show name of "error tag" as part of the warning
 CFLAGS += -errtags=yes
 # To remove the compiler complaints about __restrict keyword,