Skip to content

Commit

Permalink
Strip library
Browse files Browse the repository at this point in the history
It reduces the the size by ~3x
  • Loading branch information
Demindiro committed Apr 2, 2021
1 parent 4a82d19 commit bb52216
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ release: linux
linux: rapier3d/api.json
GODOT_PATH=$(GODOT) cargo build --quiet --target $(TARGET_LINUX) --release
cp target/$(TARGET_LINUX)/release/librapier3d.so $(OUTPUT_DIR)/librapier3d.so
strip $(OUTPUT_DIR)/librapier3d.so

debug: rapier3d/api.json
GODOT_PATH=$(GODOT) cargo build
Expand Down

0 comments on commit bb52216

Please sign in to comment.