diff options
author | Romain Chantereay <rchantereau@entrouvert.com> | 2004-09-07 14:51:23 +0000 |
---|---|---|
committer | Romain Chantereay <rchantereau@entrouvert.com> | 2004-09-07 14:51:23 +0000 |
commit | a187ddc0d8a257f34b9adaa19a170d48594782cb (patch) | |
tree | 4ed7b01669bb49f2c42caeedb7c05d76dd0b4744 /python | |
parent | 5fe9c9cbc9bee3718441b310cbccc30d548010cb (diff) | |
download | lasso-a187ddc0d8a257f34b9adaa19a170d48594782cb.tar.gz lasso-a187ddc0d8a257f34b9adaa19a170d48594782cb.tar.xz lasso-a187ddc0d8a257f34b9adaa19a170d48594782cb.zip |
Firsts fixes in order to compile Python binding under Darwin.
Diffstat (limited to 'python')
-rw-r--r-- | python/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
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 $< |