www-client/mullvad-browser-bin: Add missing die to cc

Signed-off-by: Justin Donofrio <justin026@protonmail.com>
This commit is contained in:
Justin Donofrio
2024-08-13 00:29:25 -04:00
parent 928d9d9bd9
commit 8a7b2d14eb

View File

@@ -69,7 +69,7 @@ src_install() {
void gdk_wayland_device_get_wl_pointer() { abort(); }
void gdk_wayland_window_get_wl_surface() { abort(); }
void gdk_wayland_display_get_wl_display() { abort(); }" > "${S}"/X11shim.c
$(tc-getCC) -shared -o "${S}"/mullvad-browser/X11shim.so "${S}"/X11shim.c
$(tc-getCC) -shared -o "${S}"/mullvad-browser/X11shim.so "${S}"/X11shim.c || die
sed -i '1iexport LD_PRELOAD=/opt/mullvad-browser/X11shim.so' "${S}"/mullvad-browser/Browser/start-mullvad-browser
fi