Skip to content

Static pkg-config support #2159

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 2 commits into from
Jun 6, 2023
Merged

Conversation

qyot27
Copy link
Contributor

@qyot27 qyot27 commented May 30, 2023

Addresses issue #2117 to the extent that a .pc file is created and installed for static builds.

I'm not sure if anything actually needs to be added to Libs.private or Requires.private to align with @kasper93's comment about pkg-config --static, as there's nothing in my build notes indicating I'd ever had to mess with those fields after-the-fact. I was overly cautious about removing the sharedlibdir references in the static .pc.in template, so if those aren't needed, it's easy enough to remove them.

qyot27 added 2 commits May 30, 2023 00:56
Avoids having duplicate copies in both SPIRV_CROSS_STATIC and
SPIRV_CROSS_SHARED if blocks
@CLAassistant
Copy link

CLAassistant commented May 30, 2023

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@HansKristian-Work HansKristian-Work left a comment

Choose a reason for hiding this comment

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

LGTM if CI passes. Have some trivial nits I'll apply after merge.

@HansKristian-Work HansKristian-Work merged commit a20fc9a into KhronosGroup:main Jun 6, 2023
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.

3 participants