Browse Source

Fix real mingw build

tags/1.9.7
falkTX 8 years ago
parent
commit
c3b210ef14
3 changed files with 6 additions and 1 deletions
  1. +1
    -0
      source/modules/juce_audio_devices/Makefile
  2. +4
    -1
      source/native-plugins/Makefile
  3. +1
    -0
      source/native-plugins/zynaddsubfx-src.cpp

+ 1
- 0
source/modules/juce_audio_devices/Makefile View File

@@ -13,6 +13,7 @@ include ../Makefile.mk
BUILD_CXX_FLAGS += $(JUCE_AUDIO_DEVICES_FLAGS) -I..

ifeq ($(WIN32),true)
BUILD_CXX_FLAGS += -Wno-missing-field-initializers
# BUILD_CXX_FLAGS += -I$(CWD)/includes/asio
BUILD_CXX_FLAGS += -I$(CWD)/modules/rtaudio/include
endif


+ 4
- 1
source/native-plugins/Makefile View File

@@ -30,10 +30,13 @@ endif # EXPERIMENTAL_PLUGINS
# Flags for ZynAddSubFX

ifeq ($(HAVE_ZYN_DEPS),true)
ZYN_CXX_FLAGS = $(BUILD_CXX_FLAGS) -DHAVE_ASYNC -Izynaddsubfx -Izynaddsubfx/rtosc
ZYN_CXX_FLAGS = $(BUILD_CXX_FLAGS) -Izynaddsubfx -Izynaddsubfx/rtosc
ZYN_CXX_FLAGS += $(shell pkg-config --cflags fftw3 mxml zlib)
ZYN_LD_FLAGS = $(shell pkg-config --libs liblo)
ZYN_LD_FLAGS += -ldl -lpthread
ifneq ($(WIN32),true)
ZYN_CXX_FLAGS += -DHAVE_ASYNC
endif
ifeq ($(HAVE_X11),true)
ZYN_CXX_FLAGS += $(shell pkg-config --cflags x11)
ZYN_LD_FLAGS += $(shell pkg-config --libs x11)


+ 1
- 0
source/native-plugins/zynaddsubfx-src.cpp View File

@@ -21,6 +21,7 @@
# include <cmath>
# define errx(...) {}
# define warnx(...) {}
# define index strchr
# define rindex strrchr
#else
# include <err.h>


Loading…
Cancel
Save