components/imagemagick/Makefile
changeset 4959 a998fbbcbd44
parent 4869 86742f9e20a9
child 5638 b88b6c00208e
equal deleted inserted replaced
4958:4a90498f6d6d 4959:a998fbbcbd44
    53     $(COMPONENT_SRC))
    53     $(COMPONENT_SRC))
    54 
    54 
    55 # To get the Perl modules built it is necessary to copy the PerlMagick directory
    55 # To get the Perl modules built it is necessary to copy the PerlMagick directory
    56 # to the build directory
    56 # to the build directory
    57 COMPONENT_PRE_CONFIGURE_ACTION= ($(CP) -R $(SOURCE_DIR)/PerlMagick $(@D))
    57 COMPONENT_PRE_CONFIGURE_ACTION= ($(CP) -R $(SOURCE_DIR)/PerlMagick $(@D))
       
    58 
       
    59 ifeq ($(OS_VERSION),5.11)
       
    60 LIBS += -lsocket -lnsl
       
    61 CONFIGURE_ENV += LIBS="$(LIBS)"
       
    62 endif
    58 
    63 
    59 # Show name of "error tag" as part of the warning
    64 # Show name of "error tag" as part of the warning
    60 CFLAGS += -errtags=yes
    65 CFLAGS += -errtags=yes
    61 # To remove the compiler complaints about __restrict keyword,
    66 # To remove the compiler complaints about __restrict keyword,
    62 # -D_magickcore_restrict should be used.
    67 # -D_magickcore_restrict should be used.