Skip to content

build: use autoreconf to handle libtoolize selection - #39

Merged
mgree merged 1 commit into
binpash:masterfrom
GZGavinZhao:gzgz/autoreconf-python
Sep 15, 2026
Merged

mgree merged 1 commit into
binpash:masterfrom
GZGavinZhao:gzgz/autoreconf-python

Conversation

@GZGavinZhao

@GZGavinZhao GZGavinZhao commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Problem: setup.py uses glibtoolize on MacOS and libtoolize on Linux. This is correct for Homebrew's MacOS toolchain but incorrect for Nix(pkgs) MacOS toolchain. In general, we don't want to hardcode the correct LIBTOOLIZE executable to use. Instead, the standard practice is to use autoreconf which handles the libtoolize selection for us. After this fix, libdash's Python module builds correctly as a Nix derivation on MacOS.

Needed by atlas-brown/rt#5.

@mgree

mgree commented Sep 15, 2026

Copy link
Copy Markdown
Collaborator

Excellent, thank you!

@mgree
mgree merged commit 5c158e2 into binpash:master Sep 15, 2026
8 checks passed
@mgree

mgree commented Sep 15, 2026

Copy link
Copy Markdown
Collaborator

If you'd like to contribute a nix test or package, I'd be open to it!

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