21955930 libsocket tweak needed for imagemagick
authorJohn Beck <John.Beck@Oracle.COM>
Mon, 28 Sep 2015 10:37:03 -0700
changeset 4959 a998fbbcbd44
parent 4958 4a90498f6d6d
child 4960 55cc0647d4a7
21955930 libsocket tweak needed for imagemagick
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,