diff -r 4a90498f6d6d -r a998fbbcbd44 components/imagemagick/Makefile --- 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,