Browse Source

Apple ld doesn't support --exclude-libs so don't use this flag.

tags/v2.2.2
Andrew Belt 1 year ago
parent
commit
03d2d2e4f0
1 changed files with 7 additions and 4 deletions
  1. +7
    -4
      Makefile

+ 7
- 4
Makefile View File

@@ -65,10 +65,13 @@ ifdef ARCH_WIN
endif endif


# Some libraries aren't needed by plugins and might conflict with DAWs that load libRack, so make their symbols local to libRack instead of global (default). # Some libraries aren't needed by plugins and might conflict with DAWs that load libRack, so make their symbols local to libRack instead of global (default).
LDFLAGS += -Wl,--exclude-libs,libzstd.a
LDFLAGS += -Wl,--exclude-libs,libarchive.a
LDFLAGS += -Wl,--exclude-libs,librtmidi.a
LDFLAGS += -Wl,--exclude-libs,librtaudio.a
# --exclude-libs is unavailable on Apple ld
ifndef ARCH_MAC
LDFLAGS += -Wl,--exclude-libs,libzstd.a
LDFLAGS += -Wl,--exclude-libs,libarchive.a
LDFLAGS += -Wl,--exclude-libs,librtmidi.a
LDFLAGS += -Wl,--exclude-libs,librtaudio.a
endif


include compile.mk include compile.mk




Loading…
Cancel
Save