diff --git a/Makefile b/Makefile index 9f8e52d0..520883a2 100644 --- a/Makefile +++ b/Makefile @@ -42,11 +42,10 @@ ifeq ($(ARCH), lin) SOURCES += dep/osdialog/osdialog_gtk2.c CFLAGS += $(shell pkg-config --cflags gtk+-2.0) LDFLAGS += -rdynamic \ - -lpthread -lGL -ldl -lX11 -lasound -ljack \ - $(shell pkg-config --libs gtk+-2.0) \ -Ldep/lib \ -Wl,-Bstatic -lglfw3 -lGLEW -ljansson -lspeexdsp -lzip -lz -lrtmidi -lrtaudio -lcurl -lssl -lcrypto \ - -Wl,-Bdynamic + -Wl,-Bdynamic -lpthread -lGL -ldl -lX11 -lasound -ljack \ + $(shell pkg-config --libs gtk+-2.0) TARGET := Rack endif diff --git a/README.md b/README.md index 56a4fd6a..9a58f2f9 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ pacman -S git wget gcc make cmake tar unzip zip curl On Ubuntu 16.04: ``` -sudo apt install git curl cmake libx11-dev libglu1-mesa-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev zlib1g-dev libasound2-dev libgtk2.0-dev +sudo apt install git curl cmake libx11-dev libglu1-mesa-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev zlib1g-dev libasound2-dev libgtk2.0-dev libjack-jackd2-dev ``` ## Building