Skip to content

Do not assume /usr/lib library installation.#3693

Merged
danbev merged 1 commit into
ggml-org:masterfrom
waptaff:pkgconfig-libdir
Jun 2, 2026
Merged

Do not assume /usr/lib library installation.#3693
danbev merged 1 commit into
ggml-org:masterfrom
waptaff:pkgconfig-libdir

Conversation

@waptaff

@waptaff waptaff commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

Current pkgconfig configuration file installation path and its contents assume libraries are installed under /usr/lib and this is not always the case, for instance /usr/lib64 is quite possible under Gentoo Linux.

Thus use the CMAKE_INSTALL_LIBDIR variable instead of a hardcoded lib.

Current `pkgconfig` configuration file installation path and its
contents assume libraries are installed under `/usr/lib` and this is not
always the case, for instance `/usr/lib64` is quite possible under
Gentoo Linux.

Thus use the `CMAKE_INSTALL_LIBDIR` variable instead of a hardcoded
`lib`.

@danbev danbev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Verified this locally 👍

@danbev danbev merged commit ef24de1 into ggml-org:master Jun 2, 2026
@danbev

danbev commented Jun 2, 2026

Copy link
Copy Markdown
Member

@waptaff Thanks!

danbev added a commit to danbev/whisper.cpp that referenced this pull request Jun 2, 2026
This commit applies the same changes as Commit
ef24de1 ("cmake : do not assume
/usr/lib library installation. (ggml-org#3693)") but for parakeet.

Refs: ggml-org#3693
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