Skip to content

Commit

Permalink
update version check and retain debug symbols in release builds (#1237)
Browse files Browse the repository at this point in the history
  • Loading branch information
atavism authored Nov 19, 2024
1 parent 2f5251a commit 55f59a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ require-app: guard-APP

.PHONY: require-version
require-version: guard-VERSION
@if ! [[ "$$VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-.+)?$$ ]]; then \
@if ! echo "$$VERSION" | grep -Eq "^[0-9]+\.[0-9]+\.[0-9]+(-.+)?$$"; then \
echo "VERSION must be a semantic version like '1.2.10' or '1.2.10-foo"; \
exit 1; \
fi
Expand Down Expand Up @@ -352,7 +352,7 @@ $(ANDROID_LIB): $(GO_SOURCES)
-target=$(ANDROID_ARCH_GOMOBILE) \
-tags='headless lantern' -o=$(ANDROID_LIB) \
-androidapi=23 \
-ldflags="-s -w $(LDFLAGS)" \
-ldflags="$(LDFLAGS) $(EXTRA_LDFLAGS)" \
$(GOMOBILE_EXTRA_BUILD_FLAGS) \
github.com/getlantern/lantern-client/internalsdk github.com/getlantern/pathdb/testsupport github.com/getlantern/pathdb/minisql

Expand Down

0 comments on commit 55f59a9

Please sign in to comment.