Skip to content

don't install header files into subdirectory to match upstream#3

Merged
Techatrix merged 2 commits intomainfrom
techatrix/fix-install-headers
May 4, 2025
Merged

don't install header files into subdirectory to match upstream#3
Techatrix merged 2 commits intomainfrom
techatrix/fix-install-headers

Conversation

@Techatrix
Copy link
Copy Markdown
Member

The include path for capstone v5 installed with pkg-config already includes the capstone sub directory so that header files can only be included with #include <capstone.h>. This appears to be unintentional and has been changed in capstone v6 to support #include <capstone/capstone.h>.

Since Zig is primarily used with pkg-config to lookup system libraries. We should match the pkg-config behavior until this port is updated to v6.

The difference in include paths can be found here:

@Techatrix Techatrix force-pushed the techatrix/fix-install-headers branch from bcc0975 to 884f471 Compare May 3, 2025 19:36
@Techatrix Techatrix merged commit 6035a19 into main May 4, 2025
6 checks passed
@Techatrix Techatrix deleted the techatrix/fix-install-headers branch May 4, 2025 21:10
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