Skip to content
Snippets Groups Projects
Commit 8c0dfd4e authored by Sergey Kosukhin's avatar Sergey Kosukhin
Browse files

Fix building object interface for Python.

parent ff33196d
No related branches found
No related tags found
1 merge request!14Draft: K202125/cdi 1.8.x pio merge followup
......@@ -194,7 +194,7 @@ setup_cdilib_py_vars = \
setup_python_cxx_vars = CFLAGS="$(CXXFLAGS) $(DEFS)" \
CC="$${LIBTOOL} --mode=compile --tag=CXX $(CXX) -shared" \
LDSHARED="$${LIBTOOL} --mode=link --tag=CXX $(CXX) -module -shared" \
CXX="$${LIBTOOL} --mode=link --tag=CXX $(CXX) -module -shared"
CXX="$${LIBTOOL} --mode=compile --tag=CXX $(CXX) -shared"
setup_cdiobj_py_vars = \
setupObj_py=`test -f setupObj.py || echo '$(abs_srcdir)/python/'`setupObj.py ; \
......
......@@ -20,7 +20,7 @@ cdiobj_module = Extension('_CdiObj',
runtime_library_dirs = [os.environ['BUILDLIBDIR'],os.environ['LIBDIR']],
extra_link_args = LIBS,
libraries = ['cdi','stdc++'],
language = 'c++',
language = 'c',
)
print_libdir = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment