2
0
Эх сурвалжийг харах

Minor fix for locating .rc files

rdb 16 жил өмнө
parent
commit
e85f1eca34

+ 1 - 0
makepanda/makepandacore.py

@@ -1189,6 +1189,7 @@ def CalcLocation(fn, ipath):
     if (fn.endswith(".c")):   return CxxFindSource(fn, ipath)
     if (fn.endswith(".c")):   return CxxFindSource(fn, ipath)
     if (fn.endswith(".yxx")): return CxxFindSource(fn, ipath)
     if (fn.endswith(".yxx")): return CxxFindSource(fn, ipath)
     if (fn.endswith(".lxx")): return CxxFindSource(fn, ipath)
     if (fn.endswith(".lxx")): return CxxFindSource(fn, ipath)
+    if (fn.endswith(".rc")):  return CxxFindSource(fn, ipath)
     if (fn.endswith(".mll")): return OUTPUTDIR+"/plugins/"+fn
     if (fn.endswith(".mll")): return OUTPUTDIR+"/plugins/"+fn
     if (sys.platform == "win32"):
     if (sys.platform == "win32"):
         if (fn.endswith(".def")): return CxxFindSource(fn, ipath)
         if (fn.endswith(".def")): return CxxFindSource(fn, ipath)