Browse Source

Add ability for plugins to use LuaJIT.

tags/v1.1.6
Andrew Belt 2 years ago
parent
commit
584c37889f
2 changed files with 3 additions and 0 deletions
  1. +2
    -0
      Makefile
  2. +1
    -0
      src/main.cpp

+ 2
- 0
Makefile View File

@@ -32,6 +32,8 @@ ifdef ARCH_MAC
LDFLAGS += -lpthread -ldl \
-framework Cocoa -framework OpenGL -framework IOKit -framework CoreVideo -framework CoreAudio -framework CoreMIDI \
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/libzip.a dep/lib/libz.a dep/lib/libspeexdsp.a dep/lib/libsamplerate.a dep/lib/librtmidi.a dep/lib/librtaudio.a
# For LuaJIT
LDFLAGS += -Wl,-pagezero_size,10000 -Wl,-image_base,100000000
TARGET := Rack
endif



+ 1
- 0
src/main.cpp View File

@@ -77,6 +77,7 @@ int main(int argc, char* argv[]) {
opterr = 0;
while ((c = getopt(argc, argv, "dht:s:u:")) != -1) {
switch (c) {
// Note: Mac "app translocation" passes a nonsense -psn flag, so we can't use -p for anything.
case 'd': {
settings::devMode = true;
} break;


Loading…
Cancel
Save