Browse Source

Fix annoying 'rpm not found' error on Windows

rdb 10 years ago
parent
commit
04949501c6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      makepanda/installpanda.py

+ 1 - 1
makepanda/installpanda.py

@@ -127,7 +127,7 @@ def GetLibDir():
     something like "lib" or "lib64" or in some cases, something
     something like "lib" or "lib64" or in some cases, something
     similar to "lib/x86_64-linux-gnu". """
     similar to "lib/x86_64-linux-gnu". """
 
 
-    if sys.platform == "darwin":
+    if sys.platform in ("darwin", "win32", "cygwin"):
         return "lib"
         return "lib"
 
 
     # This one's a bit tricky.  Some systems require us to install
     # This one's a bit tricky.  Some systems require us to install