mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 00:54:11 +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 \
|
sed -i -e '/base::FilePath exe_dir/,/^ *} *$/c \
|
||||||
sandbox_binary = base::FilePath(getenv("CHROMIUM_SANDBOX_BINARY_PATH"));
|
sandbox_binary = base::FilePath(getenv("CHROMIUM_SANDBOX_BINARY_PATH"));
|
||||||
' ${toPatch}
|
' ${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 // {
|
gypFlags = mkGypFlags (gypFlagsUseSystemLibs // {
|
||||||
|
|
Loading…
Reference in a new issue