Skip to content

Fix a couple build flags for tests (autotools)#54

Merged
d-torrance merged 2 commits into
Macaulay2:masterfrom
d-torrance:test-flags
Apr 27, 2026
Merged

Fix a couple build flags for tests (autotools)#54
d-torrance merged 2 commits into
Macaulay2:masterfrom
d-torrance:test-flags

Conversation

@d-torrance

Copy link
Copy Markdown
Member
  • -pthread is more portable than -lpthread, so we use it. It also fixes linking errors when using a gtest static library, where we would have wanted -lpthread after -lgtest, not before.
  • Remove redundant DEPS_LIBS.

More portable, but automake complains if it's in LDADD so we move it
to LDFLAGS.  Also, it was in the wrong order when linking with a
static gtest, and this fixes that.
@d-torrance d-torrance merged commit c128a99 into Macaulay2:master Apr 27, 2026
4 checks passed
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.

1 participant