Feature #342
closedSupport static linking of modules and module selection
Description
Hello. I am using lighttpd for an embedded system. Currently I build and install it normally, then delete all the modules I don't need. It would be cleaner to be able to statically link only the modules I need into lighttpd and then install only the binary. So I am proposing two new configure options:
--disable-shared-modules
--static-modules=mod_access,mod=cgi
This discussion speaks of a workable patch but I can find no followups in the past several months: http://thread.gmane.org/gmane.comp.web.lighttpd/1234
-- devin
Updated by gstrauss over 8 years ago
- Description updated (diff)
- Category changed from core to build_autotools
- Assignee deleted (
jan)
Updated by gstrauss over 8 years ago
- Status changed from New to Fixed
- Target version set to 1.4.40
I updated the makefiles and INSTALL instructions in the source tree to document static builds with SCons and with make. Please read the INSTALL file. You can manually edit the list of files included to remove the modules you would like omitted from your build.
Also available in: Atom