Skip to content

autotools: set 'ldlibs' as 'LIBS'#17254

Merged
becker33 merged 1 commit intospack:developfrom
skosukhin:autotools_libs_flag
Aug 13, 2023
Merged

autotools: set 'ldlibs' as 'LIBS'#17254
becker33 merged 1 commit intospack:developfrom
skosukhin:autotools_libs_flag

Conversation

@skosukhin
Copy link
Copy Markdown
Member

Autotool configure scripts should receive LIBS instead of LDLIBS.

@adamjstewart
Copy link
Copy Markdown
Member

It looks like the existing logic was written by @becker33 way back in #6415. @becker33 can you review?

@skosukhin
Copy link
Copy Markdown
Member Author

@becker33 could you, please, review this?

@skosukhin skosukhin force-pushed the autotools_libs_flag branch from 7977ae5 to 53ab851 Compare March 29, 2023 15:10
@spackbot-app spackbot-app bot added build-systems core PR affects Spack core functionality labels Mar 29, 2023
@skosukhin
Copy link
Copy Markdown
Member Author

Surprisingly, this is still relevant.

@alalazo alalazo self-assigned this Apr 4, 2023
@haampie
Copy link
Copy Markdown
Member

haampie commented Apr 4, 2023

Maybe it gets merged earlier if you provide a reference for this

@skosukhin
Copy link
Copy Markdown
Member Author

skosukhin commented Apr 4, 2023

@haampie I'm sorry, I don't understand your last message. A reference to what? That a standard Autoconf-based configure script expects the linker flags to be listed in the LIBS variable and not in LDLIBS?

@haampie
Copy link
Copy Markdown
Member

haampie commented Apr 4, 2023

Yeah, just a pointer to something that confirms it's the standard variable, like https://www.gnu.org/software/automake/manual/html_node/Program-Variables.html.

To be honest, I've never heard of ldlibs, but well...

@becker33 becker33 merged commit 237a56a into spack:develop Aug 13, 2023
mpokorny pushed a commit to mpokorny/spack that referenced this pull request Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build-systems core PR affects Spack core functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants