Skip to content

Conversation

@blacklightpy
Copy link
Contributor

It is the right way to link protobuf, and fixes the issue in Arch and Void in #48.

@blacklightpy blacklightpy changed the title Used pkg-config to link protobuf Used pkg-config to link protobuf and GLFW3, and add support for distros using external fmt Nov 11, 2024
@blacklightpy
Copy link
Contributor Author

  • Fixed GLFW3 linker flags with pkg-config, solves the problem reported here, and I too had
  • Some distros use a separate fmt-devel package for spdlog, so they need to use the -D SPDLOG_FMT_EXTERNAL. Fixed it.

@blacklightpy
Copy link
Contributor Author

Tested build on Void (musl libc edition).

@collinalexbell collinalexbell self-requested a review November 19, 2024 01:28
Copy link
Owner

@collinalexbell collinalexbell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the greatly improved makefile and for teaching me pkg-config & --as-needed.

@collinalexbell collinalexbell merged commit b1324e7 into collinalexbell:master Nov 19, 2024
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