From 42fb2b1e1100cb597dcdf41de73dae92279dd70e Mon Sep 17 00:00:00 2001 From: jao Date: Sat, 2 Aug 2014 19:25:08 +0200 Subject: Fix for compilation in darwin (bug #42818) --- mixgtk/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mixgtk') diff --git a/mixgtk/Makefile.am b/mixgtk/Makefile.am index c651df1..2fbefd3 100644 --- a/mixgtk/Makefile.am +++ b/mixgtk/Makefile.am @@ -42,7 +42,10 @@ AM_CFLAGS += -I$(includedir) -I$(top_srcdir) \ LDADD = $(top_builddir)/mixlib/libmix.a $(top_builddir)/lib/libreplace.a\ $(GUILEL) $(INTLLIBS) +if ! DARWIN_SYSTEM AM_LDFLAGS = -Wl,--export-dynamic +endif + bin_PROGRAMS = gmixvm gmixvm_SOURCES = gmixvm.c mixgtk.h mixgtk.c \ mixgtk_config.h mixgtk_config.c \ -- cgit v1.2.3