blob: 939401ce7f1dfe0f6f070168ecb16a17c51e7ee8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
diff --git a/vst3/buildLinux.sh b/vst3/buildLinux.sh
index 299dab8..e2202d7 100755
--- a/vst3/buildLinux.sh
+++ b/vst3/buildLinux.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-VST_SDK_DIR=../../VST_SDK
+VST_SDK_DIR=${VST_SDK_DIR:-../../VST_SDK}
rm -rf build
@@ -46,8 +46,7 @@ g++ \
-I../src \
-Isrc \
-I$VST_SDK_DIR/vst3sdk/ \
+ $(pkgconf --cflags --libs xcb) \
-fPIC -shared \
- -static-libgcc \
- -static-libstdc++ \
-o build/asid.vst3/Contents/x86_64-linux/asid.so \
- -O3
+ ${CXXFLAGS:--O3} $LDFLAGS
|