Browse Source

makepanda: use .so instead of .bc for emscripten build (#921)

Paul m. p. P 5 years ago
parent
commit
41ca9c2be3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      makepanda/makepandacore.py

+ 2 - 2
makepanda/makepandacore.py

@@ -3245,8 +3245,8 @@ def SetOrigExt(x, v):
     ORIG_EXT[x] = v
     ORIG_EXT[x] = v
 
 
 def GetExtensionSuffix():
 def GetExtensionSuffix():
-    if target == 'emscripten':
-        return '.bc'
+    if GetTarget() == 'emscripten':
+        return '.so'
 
 
     import _imp
     import _imp
     return _imp.extension_suffixes()[0]
     return _imp.extension_suffixes()[0]