vlc: shrink runtime closure size by removing CONFIGURE_LINE
This commit is contained in:
parent
a3e367ff4b
commit
79d46f0a28
1 changed files with 5 additions and 0 deletions
|
@ -72,6 +72,11 @@ stdenv.mkDerivation rec {
|
|||
"--with-kde-solid=$out/share/apps/solid/actions"
|
||||
] ++ optional onlyLibVLC "--disable-vlc";
|
||||
|
||||
# Remove runtime dependencies on libraries
|
||||
postConfigure = ''
|
||||
sed -i 's|^#define CONFIGURE_LINE.*$|#define CONFIGURE_LINE "<removed>"|g' config.h
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cross-platform media player and streaming server";
|
||||
homepage = http://www.videolan.org/vlc/;
|
||||
|
|
Loading…
Reference in a new issue