Skip to content

Commit

Permalink
swig:python: Add the python libs to the compile of _gensio.so
Browse files Browse the repository at this point in the history
It's now needed because -no-undefined was added, but it only seems to
fail on MacOS when compiled by homebrew.  Sigh...

Signed-off-by: Corey Minyard <[email protected]>
  • Loading branch information
cminyard committed Sep 9, 2024
1 parent ebb2c4b commit e23619f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion swig/python/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ pkgconfigexec_DATA = libgensio_python_swig.pc
nodist__gensio_la_SOURCES = gensio_wrap.c
_gensio_la_LIBADD = $(top_builddir)/lib/libgensio.la \
$(top_builddir)/lib/libgensiomdns.la \
$(PYTHON_UNDEF_LIBS) libgensio_python_swig.la
$(PYTHON_UNDEF_LIBS) libgensio_python_swig.la \
$(PYTHON_LIBS)
_gensio_la_LDFLAGS = -module -avoid-version $(OPENSSL_LDFLAGS) \
-no-undefined $(PYTHON_UNDEF_FLAG) $(PYTHON_EXT_EXT_SET)

Expand Down

0 comments on commit e23619f

Please sign in to comment.