Skip to content

[WIP] Add nginx dynamic loading script#112

Draft
ssannkkallpp wants to merge 1 commit intomainfrom
nginx-dyn-loading
Draft

[WIP] Add nginx dynamic loading script#112
ssannkkallpp wants to merge 1 commit intomainfrom
nginx-dyn-loading

Conversation

@ssannkkallpp
Copy link
Contributor

No description provided.

@ssannkkallpp ssannkkallpp changed the title Add nginx dynamic loading script [WIP] Add nginx dynamic loading script Mar 2, 2026
# Note: We do NOT use --with-ld-opt here because configure tests it with the
# native compiler, which fails for WASM flags. We'll patch the Makefile instead.
./configure \
--crossbuild=Linux::wasm32 \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this flag --crossbuild do

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to disable running test binaries during cross-compilation.

--http-log-path=/var/log/nginx/access.log \
--pid-path=/var/run/nginx.pid \
--lock-path=/var/run/nginx.lock \
--with-poll_module \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this module mandatory. Because all others seem to be disabled

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I figured we can't really test the execution without any event-driven functions, since we do support poll, it is included here to stay consistent with the static build, but open to any suggestions @vidyalakshmir

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay then you can keep this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants