summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2019-11-03 10:14:49 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2019-11-03 10:14:49 +0100
commitd2c19a73f65875f708ff8faf07010ffdb8a34385 (patch)
tree6320ccd97a7c1bee55b6ba07ce8c9d804b8a7333
parent85ce939590e9f60d51952b4cc1e6af6f9820ca28 (diff)
Fix osx static library compilation.
-rw-r--r--plugin/Makefile.am4
-rw-r--r--plugin/vst/Makefile.am5
-rw-r--r--plugingui/Makefile.am1
3 files changed, 6 insertions, 4 deletions
diff --git a/plugin/Makefile.am b/plugin/Makefile.am
index 6c0d324..95db9b7 100644
--- a/plugin/Makefile.am
+++ b/plugin/Makefile.am
@@ -30,7 +30,7 @@ drumgizmo_la_SOURCES = \
drumgizmo_plugin.cc
drumgizmo_la_LDFLAGS = -shared -module -avoid-version \
- -export-symbols drumgizmo_lv2.sym
+ -no-undefined -export-symbols drumgizmo_lv2.sym
drumgizmo_la_LIBADD = $(LV2_LIBS) \
$(top_srcdir)/plugingui/libdggui.la \
@@ -96,7 +96,7 @@ drumgizmo_vst_la_SOURCES = \
drumgizmo_plugin.cc
drumgizmo_vst_la_LDFLAGS = -shared -module -avoid-version \
- -export-symbols drumgizmo_vst.sym
+ -no-undefined -export-symbols drumgizmo_vst.sym
drumgizmo_vst_la_LIBADD = vst/libvstsdk.la \
$(top_srcdir)/plugingui/libdggui.la \
diff --git a/plugin/vst/Makefile.am b/plugin/vst/Makefile.am
index 0f3df84..be45282 100644
--- a/plugin/vst/Makefile.am
+++ b/plugin/vst/Makefile.am
@@ -40,7 +40,8 @@ public.sdk/source/vst2.x/vstplugmain.cpp: public.sdk/source/vst2.x @VST_SOURCE_P
cp @VST_SOURCE_PATH@/public.sdk/source/vst2.x/vstplugmain.cpp $@
# Hack to compile vst sources without -Wall -Werror
-libvstsdk_la_CXXFLAGS = -w $(VST_CPPFLAGS) -Ipublic.sdk/source/vst2.x -I.
+libvstsdk_la_CXXFLAGS = -Wno-c++11-narrowing -w $(VST_CPPFLAGS) \
+ -Ipublic.sdk/source/vst2.x -I.
nodist_libvstsdk_la_SOURCES = \
public.sdk/source/vst2.x/audioeffectx.cpp \
@@ -60,4 +61,4 @@ CLEANFILES = \
clean-local:
-rm -rf public.sdk pluginterfaces
-#pluginterfaces/vst2.x/vstfxstore.h \ No newline at end of file
+#pluginterfaces/vst2.x/vstfxstore.h
diff --git a/plugingui/Makefile.am b/plugingui/Makefile.am
index d0e8e0a..0f3880a 100644
--- a/plugingui/Makefile.am
+++ b/plugingui/Makefile.am
@@ -218,6 +218,7 @@ EXTRA_DIST = \
mainwindow.h \
nativewindow.h \
nativewindow_cocoa.h \
+ nativewindow_cocoa.mm \
nativewindow_pugl.h \
nativewindow_win32.h \
nativewindow_x11.h \