diff options
author | Michael Heimpold <mhei@heimpold.de> | 2023-11-22 00:39:17 +0100 |
---|---|---|
committer | Michael Heimpold <mhei@heimpold.de> | 2023-11-22 00:45:25 +0100 |
commit | fd6832b4bc6b46d4c7b9111994d5373391b66744 (patch) | |
tree | a3b5b7ad3c3c9664e91ccedc3cecbaa374832230 /net/gensio/Makefile | |
parent | 7fb8337c89708c168ddb76b29d3f80a6da20f85d (diff) |
gensio: add patches/fixes to workaround swig and python detection
The built-in swig/python detection does not works well
when system-wide m4 macros are available with same name
but different content.
So make the configure stuff compatible, resp. workaround
a little bit.
It seems also necessary to pass the PYTHON_LIBS environment
during the compile phase.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Diffstat (limited to 'net/gensio/Makefile')
-rw-r--r-- | net/gensio/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/gensio/Makefile b/net/gensio/Makefile index b53d6821d..98b429d0d 100644 --- a/net/gensio/Makefile +++ b/net/gensio/Makefile @@ -77,6 +77,9 @@ CONFIGURE_VARS += \ PYTHON_LIBS="$(shell $(STAGING_DIR)/host/bin/$(PYTHON3)-config --ldflags) -l${PYTHON3}" \ PYTHON_CPPFLAGS="$(shell $(STAGING_DIR)/host/bin/$(PYTHON3)-config --includes)" \ PYTHON="$(STAGING_DIR_HOSTPKG)/bin/$(PYTHON3)" + +MAKE_VARS += \ + PYTHON_LIBS="$(shell $(STAGING_DIR)/host/bin/$(PYTHON3)-config --ldflags) -l${PYTHON3}" else CONFIGURE_ARGS += \ --without-python \ |