From ce352716fd2c3ae3ff7a20c7f56b79b0d1c97638 Mon Sep 17 00:00:00 2001 From: Romain Chantereay Date: Tue, 7 Sep 2004 17:07:59 +0000 Subject: Add windows linker --add-stdcall-alias in order to permit failsafe use of DLLs. --- python/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'python') diff --git a/python/Makefile.am b/python/Makefile.am index 273c99a3..0e063e1e 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -10,8 +10,12 @@ _lasso_la_LIBADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS) if DARWIN _lasso_la_LDFLAGS = -no-undefined -module -avoid-version -Wl,-F. -Wl,-F. -bundle -framework Python else +if MINGW +_lasso_la_LDFLAGS = -no-undefined -module -avoid-version -Wl,--add-stdcall-alias +else _lasso_la_LDFLAGS = -no-undefined -module -avoid-version endif +endif lasso_wrap.c lasso.py: $(top_srcdir)/swig/Lasso.i $(SWIG) -v -python -module lasso -o lasso_wrap.c $< -- cgit