apache-httpd: Strip modules
We did this for 2.2 (cc61d31902d67b94333f53a5ab5772330bbc21cc) but lost this for 2.4. This reduces the Apache closure size from 312 MiB to 102 MiB (primarily by getting rid of -dev outputs).
This commit is contained in:
parent
853d01fe41
commit
4e5461127d
@ -45,6 +45,7 @@ stdenv.mkDerivation rec {
|
|||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
configureFlags="$configureFlags --includedir=$dev/include"
|
configureFlags="$configureFlags --includedir=$dev/include"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = ''
|
configureFlags = ''
|
||||||
--with-apr=${apr.dev}
|
--with-apr=${apr.dev}
|
||||||
--with-apr-util=${aprutil.dev}
|
--with-apr-util=${aprutil.dev}
|
||||||
@ -67,6 +68,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
stripDebugList = "lib modules bin";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $doc/share/doc/httpd
|
mkdir -p $doc/share/doc/httpd
|
||||||
mv $out/manual $doc/share/doc/httpd
|
mv $out/manual $doc/share/doc/httpd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user