Skip to content
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

Fix libzip missing a library #2135

Merged
merged 1 commit into from
Sep 9, 2023
Merged

Conversation

SimplyCEO
Copy link
Contributor

Fix premake compiling from undefined functions in libzip dependency.

Tested on amd64:

  • Arch Linux
  • Kernel: 6.4.12-arch1-1
  • Clang: 16.0.6
  • GNU

Tested on armv7l:

  • postmarketOS
  • Kernel: 6.3.0-postmarketos-qcom-msm8974-g65fa893de431
  • Clang: 16.0.6
  • Musl

@nickclark2016
Copy link
Member

Instead of modifying source, can we use a forceinclude in the premake file?

@SimplyCEO
Copy link
Contributor Author

can we use a forceinclude in the premake file

Sorry, I don't know how to include it in a premake file.

If you know how to, feel free to modify so I can test it.

@nickclark2016
Copy link
Member

This is something that's already in the premake file for the lib. You'd just need to update the filter to include linux instead of only MacOS.

@SimplyCEO
Copy link
Contributor Author

in the premake file for the lib

Now I understand. Thank you.

@SimplyCEO
Copy link
Contributor Author

Confirmed, compiled on both machines.
Thanks for the tip!

@nickclark2016
Copy link
Member

No problem. I have an issue open to go in and update the library so we can get rid of the hack completely, just need to find time to do it.

@nickclark2016 nickclark2016 merged commit c06e7dc into premake:master Sep 9, 2023
12 checks passed
@SimplyCEO SimplyCEO deleted the libzip_fix branch September 9, 2023 23:33
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.

2 participants