From a187ddc0d8a257f34b9adaa19a170d48594782cb Mon Sep 17 00:00:00 2001 From: Romain Chantereay Date: Tue, 7 Sep 2004 14:51:23 +0000 Subject: Firsts fixes in order to compile Python binding under Darwin. --- python/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'python') diff --git a/python/Makefile.am b/python/Makefile.am index 893f623d..273c99a3 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -7,8 +7,11 @@ python_LTLIBRARIES = _lasso.la _lasso_la_SOURCES = lasso_wrap.c _lasso_la_CFLAGS = $(LASSO_CFLAGS) -DSWIG_COBJECT_TYPES $(PY_CFLAGS) _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 _lasso_la_LDFLAGS = -no-undefined -module -avoid-version - +endif lasso_wrap.c lasso.py: $(top_srcdir)/swig/Lasso.i $(SWIG) -v -python -module lasso -o lasso_wrap.c $< -- cgit