Browse Source

Use static libsamplerate as an object file

tags/v0.6.0
Andrew Belt 6 years ago
parent
commit
23aba43d17
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Makefile

+ 2
- 2
Makefile View File

@@ -6,7 +6,7 @@ SOURCES += $(wildcard src/*.cpp)
DISTRIBUTABLES += $(wildcard LICENSE*) res

FLAGS += -Idep/libsamplerate/src
LDFLAGS += -Ldep/libsamplerate/src/.libs -l:libsamplerate.a
# LDFLAGS += -Ldep/libsamplerate/src/.libs -l:libsamplerate.a

libsamplerate = dep/libsamplerate/src/.libs/libsamplerate.a
$(libsamplerate):
@@ -14,7 +14,7 @@ $(libsamplerate):
cd dep/libsamplerate && CFLAGS=-fPIC ./configure
cd dep/libsamplerate && $(MAKE)

RESOURCES += $(libsamplerate)
OBJECTS += $(libsamplerate)

RACK_DIR ?= ../..
include $(RACK_DIR)/plugin.mk

Loading…
Cancel
Save