mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #93] Install on maxOS should put files to /usr/local instead of /usr #81
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#81
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?
Originally created by @ghost on GitHub (Feb 10, 2017).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/93
Originally assigned to: @jmcnamara on GitHub.
Now macOS has some system protection and even under root I cannot write to
/usr.There is, however, a special dir for installing custom libs, it is
/usr/local.So the
make installon macOS should install everything to/usr/localinstead of/usr.I.e. to
/usr/local/liband/usr/local/include.@jmcnamara commented on GitHub (Feb 13, 2017):
Hi,
Yes. Agreed. That would be better for Linux as well.
I also want to add a
INSTALL_DIRorDESTDIRvariable to allow the dir to be specified/overridden.I'll add it in the next release.
Thanks for the suggestion.
John
@jmcnamara commented on GitHub (Jun 25, 2017):
I've pushed a change to master so that files are installed to
/usr/localby default. The installation dir can be overridden by using theINSTALL_DIRenvironmental variable:Thanks for the suggestion.