mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
chromium: Hardcode dlopen() path for libexif.
This is needed for Chromium version 36 and higher. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
47214207b9
commit
0c50978cb8
|
@ -144,6 +144,10 @@ let
|
|||
sed -i -e '/base::FilePath exe_dir/,/^ *} *$/c \
|
||||
sandbox_binary = base::FilePath(getenv("CHROMIUM_SANDBOX_BINARY_PATH"));
|
||||
' ${toPatch}
|
||||
'' + optionalString (!versionOlder source.version "36.0.0.0") ''
|
||||
sed -i -e '/module_path *=.*libexif.so/ {
|
||||
s|= [^;]*|= base::FilePath().AppendASCII("${libexif}/lib/libexif.so")|
|
||||
}' chrome/utility/media_galleries/image_metadata_extractor.cc
|
||||
'';
|
||||
|
||||
gypFlags = mkGypFlags (gypFlagsUseSystemLibs // {
|
||||
|
|
Loading…
Reference in a new issue