Skip to content

Commit

Permalink
link .a files in correct order. fixes kripken#35
Browse files Browse the repository at this point in the history
  • Loading branch information
kripken committed Dec 20, 2012
1 parent eb6d03e commit 2537db2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
13 changes: 10 additions & 3 deletions builds/ammo.js

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions make.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,12 @@ def stage(text):

stage('Link')

emscripten.Building.link(['bindings.bc',
os.path.join('src', '.libs', 'libBulletCollision.a'),
emscripten.Building.link([
'bindings.bc',
os.path.join('src', '.libs', 'libBulletDynamics.a'),
os.path.join('src', '.libs', 'libLinearMath.a')],
os.path.join('src', '.libs', 'libBulletCollision.a'),
os.path.join('src', '.libs', 'libLinearMath.a')
],
'libbullet.bc')

assert os.path.exists('libbullet.bc'), 'Failed to create client'
Expand Down

0 comments on commit 2537db2

Please sign in to comment.