mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
carla: add missing lib for carla-bridge-lv2-gtk2
Previously, attempting to open calf plugin UIs in Carla would fail, due to this library not being found when Carla tried to dlopen() it.
This commit is contained in:
parent
d0e0f196fe
commit
92fb22dc0a
@ -61,6 +61,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
filename="$(basename -- "$file")"
|
||||
substituteInPlace "$file" --replace '--with-appname="$0"' "--with-appname=\"$filename\""
|
||||
done
|
||||
'' + lib.optionalString withGtk2 ''
|
||||
# Will try to dlopen() libgtk-x11-2.0 at runtime when using the bridge.
|
||||
substituteInPlace source/bridges-ui/Makefile \
|
||||
--replace '$(CXX) $(OBJS_GTK2)' '$(CXX) $(OBJS_GTK2) -lgtk-x11-2.0'
|
||||
'';
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
Loading…
Reference in New Issue
Block a user