mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
libcef: add ANGLE libs to output
This commit is contained in:
parent
3526f2ffec
commit
2a40d84981
@ -30,6 +30,10 @@
|
||||
}:
|
||||
|
||||
let
|
||||
gl_rpath = lib.makeLibraryPath [
|
||||
stdenv.cc.cc.lib
|
||||
];
|
||||
|
||||
rpath = lib.makeLibraryPath [
|
||||
glib
|
||||
nss
|
||||
@ -92,7 +96,11 @@ stdenv.mkDerivation rec {
|
||||
mkdir -p $out/lib/ $out/share/cef/
|
||||
cp libcef_dll_wrapper/libcef_dll_wrapper.a $out/lib/
|
||||
cp ../Release/libcef.so $out/lib/
|
||||
cp ../Release/libEGL.so $out/lib/
|
||||
cp ../Release/libGLESv2.so $out/lib/
|
||||
patchelf --set-rpath "${rpath}" $out/lib/libcef.so
|
||||
patchelf --set-rpath "${gl_rpath}" $out/lib/libEGL.so
|
||||
patchelf --set-rpath "${gl_rpath}" $out/lib/libGLESv2.so
|
||||
cp ../Release/*.bin $out/share/cef/
|
||||
cp -r ../Resources/* $out/share/cef/
|
||||
cp -r ../include $out/
|
||||
|
Loading…
Reference in New Issue
Block a user