blob: 0ad176d430f435429b9cce8c0d2ff8f085f05c66 [file] [log] [blame]
cat << END >> $NGX_MAKEFILE
$ngx_addon_dir/../build/libnjs.a:
cd $ngx_addon_dir/.. \\
&& if [ -f build/Makefile ]; then \$(MAKE) clean; fi \\
&& CFLAGS="\$(CFLAGS)" CC="\$(CC)" ./configure \\
&& \$(MAKE)
END