Skip to content

Commit d55f012

Browse files
committed
fix: remove build id from JNI CMakeLists.txt to avoid build issues on Fdroid
1 parent 1c25c9c commit d55f012

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/fdroid.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ jobs:
6161

6262
# Get flutter dependencies.
6363
- run: flutter pub get
64+
# Remove build id from JNI CMakeLists.txt to avoid build issues on Fdroid.
65+
- name: Remove build id
66+
run: sed -i -e 's/-Wl,/-Wl,--build-id=none,/' ${{ steps.flutter-action.outputs.PUB-CACHE-PATH }}/hosted/pub.dev/jni-*/src/CMakeLists.txt
6467
# # Check for any formatting issues in the code.
6568
# - run: dart format --set-exit-if-changed .
6669
# Statically analyze the Dart code for any errors.

.github/workflows/pre_fdroid.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ jobs:
4444

4545
# Get flutter dependencies.
4646
- run: flutter pub get
47+
# Remove build id from JNI CMakeLists.txt to avoid build issues on Fdroid.
48+
- name: Remove build id
49+
run: sed -i -e 's/-Wl,/-Wl,--build-id=none,/' ${{ steps.flutter-action.outputs.PUB-CACHE-PATH }}/hosted/pub.dev/jni-*/src/CMakeLists.txt
4750
# # Check for any formatting issues in the code.
4851
# - run: dart format --set-exit-if-changed .
4952
# Statically analyze the Dart code for any errors.

0 commit comments

Comments
 (0)