Project

General

Profile

Actions

Feature #342

closed

Support static linking of modules and module selection

Added by Anonymous about 19 years ago. Updated over 8 years ago.

Status:
Fixed
Priority:
Normal
Category:
build_autotools
Target version:
ASK QUESTIONS IN Forums:

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

Actions #1

Updated by gstrauss over 8 years ago

  • Description updated (diff)
  • Category changed from core to build_autotools
  • Assignee deleted (jan)
Actions #2

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.

Actions

Also available in: Atom