Skip to content

Commit

Permalink
Update build_linux.sh
Browse files Browse the repository at this point in the history
Resulted ZgeBullet.so will be found in lib folder instead of linux folder.
  • Loading branch information
Txori authored Nov 22, 2022
1 parent b24a385 commit 088e55c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build_linux.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
mkdir linux
gcc -Wall -O2 -fPIC -I ./bullet3-2.85.1/src -c ./src/ZgeBullet.cpp -o ./linux/ZgeBullet.o
mkdir lib
gcc -Wall -O2 -fPIC -I ./bullet3-2.85.1/src -c ./src/ZgeBullet.cpp -o ./lib/ZgeBullet.o
C="./bullet3-2.85.1/build_cmake/src/BulletCollision/CMakeFiles/BulletCollision.dir"
D="./bullet3-2.85.1/build_cmake/src/BulletDynamics/CMakeFiles/BulletDynamics.dir"
M="./bullet3-2.85.1/build_cmake/src/LinearMath/CMakeFiles/LinearMath.dir"
gcc -shared -O2 -o ./linux/ZgeBullet.so ./linux/ZgeBullet.o \
gcc -shared -O2 -o ./lib/ZgeBullet.so ./lib/ZgeBullet.o \
$C/BroadphaseCollision/btAxisSweep3.o \
$C/BroadphaseCollision/btCollisionAlgorithm.o \
$C/BroadphaseCollision/btDbvt.o \
Expand Down

0 comments on commit 088e55c

Please sign in to comment.