Skip to content

Fix the Linux offline build with pkg-config #157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2025

Conversation

ppentchev
Copy link
Contributor

The wrong environment variable was being tested.

How to test the fix:

flutter create sodium_test
cd sodium_test
flutter pub add 'sodium_libs:{"git": {"url": "https://github.com/ppentchev/libsodium_dart_bindings", "ref": "pp-fix-offline-linux", "path": "packages/sodium_libs"}}'
flutter pub get
env LIBSODIUM_USE_PKGCONFIG=1 flutter build linux --no-pub

Closes: #156

The wrong environment variable was being tested.

Closes: Skycoder42#156
@Skycoder42 Skycoder42 merged commit d8b9548 into Skycoder42:main May 13, 2025
16 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Building offline on Linux using pkg-config fails: copy/paste error?
2 participants