Permalink
Browse files

Update include path etc

  • Loading branch information...
evanmiller committed Aug 14, 2010
1 parent 51b7d55 commit f7b6b5c5c916befe792fc12f5f79f31056af945a
Showing with 4 additions and 3 deletions.
  1. +4 −3 config
View
7 config
@@ -2,16 +2,17 @@ ngx_feature="MagickWand"
ngx_feature_name=
ngx_feature_run=no
ngx_feature_incs="#include <wand/magick-wand.h>"
-ngx_feature_path=
-ngx_feature_libs=-lWand
+ngx_feature_path="/usr/include/ImageMagick"
+ngx_feature_libs=-lMagickWand
ngx_feature_test="MagickWandGenesis()"
. auto/feature
if [ $ngx_found = yes ]; then
ngx_addon_name=ngx_http_circle_gif_module
HTTP_MODULES="$HTTP_MODULES ngx_http_circle_gif_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_circle_gif_module.c"
- CORE_LIBS="$CORE_LIBS -lWand"
+ CORE_LIBS="$CORE_LIBS -lMagickWand"
+ CFLAGS="$CFLAGS `MagickWand-config --cflags`"
else
cat << END
$0: error: the Circle GIF addon requires the ImageMagick library.

0 comments on commit f7b6b5c

Please sign in to comment.