mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Fix compilation of modpython.
After previous commit compiler.cpp depends on python headers, because it includes them. Therefore g++ tries to write a depend file about them. If there's no such dir .depend yet, it'll fail. Thanks to SilverLeo for noticing this.
This commit is contained in:
@@ -63,6 +63,8 @@ modpython/functions.cpp: modpython/functions.in modpython/codegen.pl
|
||||
$(Q)$(PERL) $(srcdir)/modpython/codegen.pl $< $@
|
||||
|
||||
modpython/compiler.o: modpython/compiler.cpp Makefile
|
||||
@mkdir -p modpython
|
||||
@mkdir -p .depend
|
||||
$(E) Building optimizer for python files...
|
||||
$(Q)$(CXX) $(PYTHONCOMMON) -o $@ $< -c -MD -MF .depend/modpython.compiler.dep
|
||||
modpython/compiler: modpython/compiler.o Makefile
|
||||
|
||||
Reference in New Issue
Block a user