[PR #322] [MERGED] Add pkg-config files to the build #463

Closed
opened 2026-05-05 12:16:32 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jmcnamara/libxlsxwriter/pull/322
Author: @aymanbagabas
Created: 3/19/2021
Status: Merged
Merged: 3/22/2021
Merged by: @jmcnamara

Base: masterHead: pkg-config


📝 Commits (1)

  • 801b6a3 Add pkg-config files to the build

📊 Changes

3 files changed (+26 additions, -0 deletions)

View changed files

📝 CMakeLists.txt (+10 -0)
📝 Makefile (+6 -0)
dev/release/pkg-config.txt (+10 -0)

📄 Description

Fixes: https://github.com/jmcnamara/libxlsxwriter/issues/132

This PR adds pkg-config files to Makefile and CMake builds. I know that #132 was closed because the simplicity of linking libxlsxwriter doesn't require pkg-config. However, the reason I'm doing this is that I'm writing a Swift binding to libxlsxwriter and SwiftPM has native support for pkg-config which would make it simpler to build in macOS and Linux. Even though there are other workarounds to this problem, I find using pkg-config the most convenient solution.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jmcnamara/libxlsxwriter/pull/322 **Author:** [@aymanbagabas](https://github.com/aymanbagabas) **Created:** 3/19/2021 **Status:** ✅ Merged **Merged:** 3/22/2021 **Merged by:** [@jmcnamara](https://github.com/jmcnamara) **Base:** `master` ← **Head:** `pkg-config` --- ### 📝 Commits (1) - [`801b6a3`](https://github.com/jmcnamara/libxlsxwriter/commit/801b6a37a9770aed268c0162edc06458d54a7993) Add pkg-config files to the build ### 📊 Changes **3 files changed** (+26 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+10 -0) 📝 `Makefile` (+6 -0) ➕ `dev/release/pkg-config.txt` (+10 -0) </details> ### 📄 Description Fixes: https://github.com/jmcnamara/libxlsxwriter/issues/132 This PR adds pkg-config files to Makefile and CMake builds. I know that #132 was closed because the simplicity of linking libxlsxwriter doesn't require pkg-config. However, the reason I'm doing this is that I'm writing a Swift binding to libxlsxwriter and SwiftPM has native support for pkg-config which would make it simpler to build in macOS and Linux. Even though there are other workarounds to this problem, I find using pkg-config the most convenient solution. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 12:16:32 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/libxlsxwriter#463
No description provided.