Browse Source

add RACK_STATIC_MODULES build option (setenv_linux.sh)

pull/1639/head
bsp2 6 years ago
parent
commit
d3e4caea62
3 changed files with 12 additions and 2 deletions
  1. +4
    -1
      makefile_lib.linux
  2. +5
    -0
      setenv_linux.sh
  3. +3
    -1
      vst2_common_linux.mk

+ 4
- 1
makefile_lib.linux View File

@@ -8,7 +8,10 @@ include dep/yac/install_linux.mk
TARGET_BASENAME=Rack

EXTRAFLAGS= -DVERSION=0.6.1 -DARCH_LIN -D_USE_MATH_DEFINES -DRACK_HOST -DUSE_VST2 -Iinclude/ -Idep/include -Idep/
#EXTRAFLAGS+= -DSKIP_STATIC_MODULES

ifneq ($(RACK_STATIC_MODULES),y)
EXTRAFLAGS+= -DSKIP_STATIC_MODULES
endif

# for osdialog:
EXTRAFLAGS+= `pkg-config gtk+-2.0 --cflags`


+ 5
- 0
setenv_linux.sh View File

@@ -3,3 +3,8 @@ export VSVR_BASE_DIR=`pwd`

# this must point to the directory which contains the 'aeffect.h' and 'aeffectx.h' files
export VST2_SDK_DIR=/mnt/dev/vstsdk2.4/pluginterfaces/vst2.x/

# 'n' = build the plugin w/o 3rd party modules
#export RACK_STATIC_MODULES=y
export RACK_STATIC_MODULES=n


+ 3
- 1
vst2_common_linux.mk View File

@@ -7,8 +7,10 @@ EXTRAFLAGS+= -DVERSION=0.6.1 -D_USE_MATH_DEFINES -Iinclude/ -Idep/include -Idep/

EXTRALIBS+= src/plugin_static.o

## note: remove -DSKIP_STATIC_MODULES in makefile_lib.linux and uncomment the following line to link the add-on modules
## See setenv_linux.sh (export RACK_STATIC_MODULES=y/n)
ifeq ($(RACK_STATIC_MODULES),y)
include vst2_common_staticlibs.mk
endif
##EXTRALIBS+= $(call plugin_lib,Template)

EXTRALIBS+= Rack.a


Loading…
Cancel
Save