Skip to content

lib/CMakeLists.txt: Make hard-coded static lib suffix optional#1418

Merged
tatsuhiro-t merged 1 commit intonghttp2:masterfrom
vszakats:patch-1
Dec 8, 2019
Merged

lib/CMakeLists.txt: Make hard-coded static lib suffix optional#1418
tatsuhiro-t merged 1 commit intonghttp2:masterfrom
vszakats:patch-1

Conversation

@vszakats
Copy link
Copy Markdown
Contributor

@vszakats vszakats commented Nov 15, 2019

It can be set via the STATIC_LIB_SUFFIX variable.

This fixes every existing dependent project that relied on the name
having no suffix and thus capable of using either a static or shared
flavour depending on which one is present on this or how the linker
is configured.

Ref: #1394

It can be set via the `STATIC_LIB_SUFFIX` variable.

This fixes every existing dependent project that relied on the name
having no suffix and thus capable of using either a static or shared
flavour depending on which one is present on this or how the linker
is configured.

Ref: #1394
@vszakats vszakats changed the title lib/CMakelists.txt: Make hard-coded static lib suffix optional lib/CMakeLists.txt: Make hard-coded static lib suffix optional Nov 15, 2019
@vszakats
Copy link
Copy Markdown
Contributor Author

vszakats commented Dec 2, 2019

Any thoughts/comments?

@vszakats
Copy link
Copy Markdown
Contributor Author

vszakats commented Dec 7, 2019

Actually the Travis CI build appears to have finished successfully, not sure why it's still yellow here after 3 weeks.

If there is no hope for dealing with this, I'll abandon further Windows builds for curl as they are now unmaintainable with the breakage introduced with 1.40.0. Shipping with an obsolete nghttp2 version isn't something tenable as well.

/cc @wrowe @tatsuhiro-t

@tatsuhiro-t
Copy link
Copy Markdown
Member

Sorry for the late relay, I have other things to do these days. I think the change is good.
The CI is sometimes stuck somewhere and GitHub seems not to get webhook. Not sure why.
Will merge soon.

@vszakats
Copy link
Copy Markdown
Contributor Author

vszakats commented Dec 7, 2019

Thank you @tatsuhiro-t!

@tatsuhiro-t tatsuhiro-t merged commit b40c6c8 into nghttp2:master Dec 8, 2019
@tatsuhiro-t tatsuhiro-t added this to the v1.41.0 milestone Dec 8, 2019
jay added a commit to jay/curl that referenced this pull request Jul 19, 2021
- Support both nghttp2.lib and nghttp2_static.lib for static nghttp2.

nghttp2 briefly changed its static lib name to nghttp2_static, but then
made the _static suffix optional.

Ref: nghttp2/nghttp2#1394
Ref: nghttp2/nghttp2#1418
Ref: nghttp2/nghttp2#1466

Reported-by: Pierre Yager

Fixes curl#7446
Closes #xxxx
jay added a commit to curl/curl that referenced this pull request Jul 20, 2021
- Support both nghttp2.lib and nghttp2_static.lib for static nghttp2.

nghttp2 briefly changed its static lib name to nghttp2_static, but then
made the _static suffix optional.

Ref: nghttp2/nghttp2#1394
Ref: nghttp2/nghttp2#1418
Ref: nghttp2/nghttp2#1466

Reported-by: Pierre Yager

Fixes #7446
Closes #7447
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants