mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Fix gcc-ism in python build (John Levon)
This commit is contained in:
@@ -34,8 +34,9 @@ all-local: libvirt.py
|
||||
python_LTLIBRARIES = libvirtmod.la
|
||||
|
||||
libvirtmod_la_SOURCES = libvir.c types.c libvirt-py.c libvirt-py.h
|
||||
# Python header files contain a redundant decl, hence:
|
||||
libvirtmod_la_CFLAGS = -Wno-redundant-decls
|
||||
# Python <= 2.4 header files contain a redundant decl, hence we
|
||||
# need extra flags here
|
||||
libvirtmod_la_CFLAGS = @WARN_PYTHON_CFLAGS@
|
||||
|
||||
libvirtmod_la_LDFLAGS = -module -avoid-version -L$(top_builddir)/src/.libs \
|
||||
@CYGWIN_EXTRA_LDFLAGS@
|
||||
|
||||
Reference in New Issue
Block a user