mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
[PR #348] [MERGED] Don't use LDLFAGS when building these .so files #468
Labels
No labels
awaiting user feedback
bug
cmake
cmake
docs
feature request
in progress
long term
medium term
medium term
pull-request
question
question
ready to close
short term
under investigation
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/libxlsxwriter#468
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jmcnamara/libxlsxwriter/pull/348
Author: @sjmulder
Created: 7/27/2021
Status: ✅ Merged
Merged: 7/27/2021
Merged by: @jmcnamara
Base:
main← Head:pr/so-ldflags📝 Commits (1)
19cc617Don't use LDLFAGS when building these .so files📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/Makefile(+1 -1)📄 Description
This Makefile builds 3 versions of each object: a regular one, one
usable for linking into a shared object, and one for tests, each with
different flags. They are named .o, .so, and .to respectively -- but
these .so files are regular object files, NOT shared libraries.
Hence, they shouldn't be built with ${LDFLAGS} because no linking is
happening here, they're just regular object files compiled with -c.
Passing on LDFLAGS here anyway can cause warnings or errors like this:
(Of course the actual linking into libxlsxwriter.so or .dylib still
uses LDFLAGS.)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.