Browse Source

Link shared libraries after static libraries

tags/v0.6.1
Andrew Belt 6 years ago
parent
commit
35f00bedc3
2 changed files with 3 additions and 4 deletions
  1. +2
    -3
      Makefile
  2. +1
    -1
      README.md

+ 2
- 3
Makefile View File

@@ -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



+ 1
- 1
README.md View File

@@ -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


Loading…
Cancel
Save