From 48944483dbb89ac40580466139b5dccf3c6e486e Mon Sep 17 00:00:00 2001 From: Wandenberg Date: Mon, 24 Mar 2014 16:41:08 -0300 Subject: [PATCH] split the LDFLAGS from ngx_feature_libs --- config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config b/config index c102b11..f71bb56 100644 --- a/config +++ b/config @@ -1,7 +1,8 @@ ngx_addon_name=ngx_http_video_thumbextractor_module -ngx_feature_libs="-lavformat -lavcodec -lavutil -lswscale -ljpeg $(MagickWand-config --ldflags)" +ngx_feature_libs="-lavformat -lavcodec -lavutil -lswscale -ljpeg $(MagickWand-config --libs)" HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES $ngx_addon_name" CFLAGS="$CFLAGS $(MagickWand-config --cflags)" +LDFLAGS="$LDFLAGS $(MagickWand-config --ldflags)" CORE_INCS="$CORE_INCS \ $ngx_addon_dir/src \ $ngx_addon_dir/include"