nixpkgs/pkgs/applications/audio/vcv-rack/rack-minimize-vendoring.patch
Dominic Delabruere 3cf332fdb8 vcv-rack: 2.2.0 -> 2.2.1
This is a very minor update to VCV Rack, but the upstream Makefiles
now recognize `aarch64` in platform strings and accepts a
CROSS_COMPILE environment variable for cross-compiling plugins for
a given target. This commit updates the `makeFlags` accordingly.
2022-12-07 22:37:24 -05:00

14 lines
698 B
Diff

diff --git a/Makefile b/Makefile
index fc7c3af1..c3672c6a 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ ifdef ARCH_LIN
LDFLAGS += -Wl,--whole-archive
LDFLAGS += -static-libstdc++ -static-libgcc
- LDFLAGS += dep/lib/libGLEW.a dep/lib/libglfw3.a dep/lib/libjansson.a dep/lib/libcurl.a dep/lib/libssl.a dep/lib/libcrypto.a dep/lib/libarchive.a dep/lib/libzstd.a dep/lib/libspeexdsp.a dep/lib/libsamplerate.a dep/lib/librtmidi.a dep/lib/librtaudio.a
+ LDFLAGS += -lGLEW -lglfw -ljansson -lcurl -lssl -lcrypto -larchive -lz -lspeexdsp -lsamplerate -lrtmidi -lrtaudio
LDFLAGS += -Wl,--no-whole-archive
LDFLAGS += -lpthread -lGL -ldl -lX11 -lasound -ljack -lpulse -lpulse-simple
endif