mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
makepanda: fix compile error on Windows with some versions of flex
This commit is contained in:
parent
607af9ff49
commit
e1675f1a53
@ -552,6 +552,7 @@ if (COMPILER == "MSVC"):
|
||||
PkgDisable("EGL")
|
||||
PkgDisable("CARBON")
|
||||
PkgDisable("COCOA")
|
||||
DefSymbol("FLEX", "YY_NO_UNISTD_H")
|
||||
if (PkgSkip("PYTHON")==0):
|
||||
IncDirectory("ALWAYS", SDK["PYTHON"] + "/include")
|
||||
LibDirectory("ALWAYS", SDK["PYTHON"] + "/libs")
|
||||
@ -1396,7 +1397,7 @@ def CompileBison(wobj, wsrc, opts):
|
||||
CopyFile(wdsth, GetOutputDir()+"/tmp/"+ifile+".h")
|
||||
|
||||
# Finally, compile the generated source file.
|
||||
CompileCxx(wobj,wdstc,opts)
|
||||
CompileCxx(wobj, wdstc, opts + ["FLEX"])
|
||||
|
||||
########################################################################
|
||||
##
|
||||
|
Loading…
x
Reference in New Issue
Block a user