mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 05:47:55 +00:00
Windows: Fix broken build caused by a bad file extension
The compiler (cl) complains: `ovsdb/ovsdb-server.c(689) : fatal error C1083: Cannot open include file: 'ovsdb/_server.ovsschema.inc': No such file or directory` (https://ci.appveyor.com/project/blp/ovs/build/1.0.4079#L2586) Generated compiler objects have the extension `.obj` on Windows. This patch switches to `$(OBJEXT)` instead, so the schema will be generated. Signed-off-by: Alin Gabriel Serdean aserdean@ovn.org Acked-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
parent
999c7773a6
commit
4a38a09cf2
@ -120,7 +120,7 @@ OVSDB_DOT = $(run_python) $(srcdir)/ovsdb/ovsdb-dot.in
|
|||||||
|
|
||||||
EXTRA_DIST += ovsdb/_server.ovsschema
|
EXTRA_DIST += ovsdb/_server.ovsschema
|
||||||
CLEANFILES += ovsdb/_server.ovsschema.inc
|
CLEANFILES += ovsdb/_server.ovsschema.inc
|
||||||
ovsdb/ovsdb-server.o: ovsdb/_server.ovsschema.inc
|
ovsdb/ovsdb-server.$(OBJEXT): ovsdb/_server.ovsschema.inc
|
||||||
ovsdb/_server.ovsschema.inc: ovsdb/_server.ovsschema $(srcdir)/build-aux/text2c
|
ovsdb/_server.ovsschema.inc: ovsdb/_server.ovsschema $(srcdir)/build-aux/text2c
|
||||||
$(AM_V_GEN)$(run_python) $(srcdir)/build-aux/text2c < $< > $@.tmp
|
$(AM_V_GEN)$(run_python) $(srcdir)/build-aux/text2c < $< > $@.tmp
|
||||||
$(AM_V_at)mv $@.tmp $@
|
$(AM_V_at)mv $@.tmp $@
|
||||||
|
Loading…
x
Reference in New Issue
Block a user