Skip to content

Adding NJS breaks nginx compilation (on Windows) #320

@micheljung

Description

@micheljung

I'm trying to build nginx with NJS on Windows

Building nginx only works, using this build script, as you can see in its build result.

If I simply add --add-module=njs/nginx (which points to a cloned repository) as documented, the build fails with the last lines being:

install openssl.pc -> /c/projects/nginx-build-msys2/nginx/openssl-1.1.1g/.openssl/lib/pkgconfig/openssl.pc
make[2]: Leaving directory '/c/projects/nginx-build-msys2/nginx/openssl-1.1.1g'
make[1]: Leaving directory '/c/projects/nginx-build-msys2/nginx'
make: *** [Makefile:8: build] Error 2

Not being used to build things myself, I'm lost here. Any help would be much appreciated - and maybe we can then share a Windows build project that just works :-)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions