vlc: shrink runtime closure size by removing CONFIGURE_LINE

This commit is contained in:
Andrew Dunham 2018-10-27 15:11:35 -07:00
parent a3e367ff4b
commit 79d46f0a28

View file

@ -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/;