Skip to content

[libjpeg-turbo] Fix usage when building static#23427

Merged
vicroms merged 3 commits intomicrosoft:masterfrom
JackBoosY:dev/jack/23422
Mar 11, 2022
Merged

[libjpeg-turbo] Fix usage when building static#23427
vicroms merged 3 commits intomicrosoft:masterfrom
JackBoosY:dev/jack/23422

Conversation

@JackBoosY
Copy link
Contributor

Since upstream allows building both dynamic and static libraries at the same time, we cannot patch to remove the static library suffix.
The generated cmake configuration file should synchronize the modification of the static library name.

Fixes #23422.

@JackBoosY JackBoosY added category:port-bug The issue is with a library, which is something the port should already support info:internal labels Mar 8, 2022
@JackBoosY
Copy link
Contributor Author

@reynoldsbd Can you please test this PR?

Thanks.

Copy link
Contributor

@dg0yt dg0yt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I didn't test. I wish we had vcpkg_validate_cmake.

@reynoldsbd
Copy link
Member

@JackBoosY this works great, thanks!

@JackBoosY
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@JackBoosY JackBoosY added the info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label Mar 11, 2022
@vicroms vicroms merged commit 5bbca2a into microsoft:master Mar 11, 2022
@JackBoosY JackBoosY deleted the dev/jack/23422 branch March 14, 2022 02:22
ekilmer added a commit to ekilmer/vcpkg that referenced this pull request Mar 14, 2022
* master: (64 commits)
  [baseline] [python3] fix bz2(d) search on linux (microsoft#23525)
  [HPX] Don't remove HPXCacheVariables.cmake during install (microsoft#23042)
  [earcut.hpp] New port (microsoft#23507)
  [libssh2] Fix deleted configfiles (microsoft#23509)
  [python3] Update to Python 3.10.2. (microsoft#23156)
  [qt5-webengine] Fix apply patch failed (microsoft#23484)
  [llvm] Fix LLVM install for 'utils' feature (microsoft#23399)
  [sciter-js] Updated sciter-js to 4.4.8.31 (microsoft#23357)
  [GTL] Add new port (microsoft#23400)
  [raylib] Fix cannot find -lglfw on Linux (microsoft#23348)
  [yato] fix arm build by updating (microsoft#23406)
  [ois] fix pkgconfig file not installed on windows (microsoft#23426)
  Fix the dependency of installing arrow with the parquet feature (microsoft#23423)
  [libjpeg-turbo] Fix usage when building static (microsoft#23427)
  [sentencepiece] Clarify supported triplets (microsoft#23438)
  [zpp-bits] Add new port (microsoft#23458)
  [lionkor-commandline] Add new port (microsoft#23471)
  [libde265] fix static linkage (microsoft#23479)
  [libheif] fix license (microsoft#23480)
  [proj4] Retain former features (fixes `vcpkg upgrade`) (microsoft#23487)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:port-bug The issue is with a library, which is something the port should already support info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[libjpeg-turbo] find_package fails when built statically

5 participants