compiling nginx from sources and including xslt sources

Maxim Dounin mdounin at
Thu Feb 4 15:50:54 UTC 2016


On Thu, Feb 04, 2016 at 10:36:38AM -0500, orglee wrote:

> Hi,
> I'm trying to compile nginx from source but despite providing ./configure
> with --with-ld-opt I can't seem to see it.
> This is the complete command I'm trying to use.


> --with-ld-opt="-I/opt/src/nginx/libxml-2.9.3
> -I/opt/src/nginx/xslt-1.1.28"

The --with-ld-opt option is used when calling linker.  It makes no 
sense to use "-I" there.  If you want to set include paths, 
consider using --with-cc-opt instead.

Maxim Dounin

More information about the nginx mailing list