Project

General

Profile

Actions

Bug #21546

closed

`prefix` in ruby.pc is wrong when `--enable-load-relative`

Added by nobu (Nobuyoshi Nakada) 6 days ago. Updated 6 days ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:122972]

Description

It is relocatable and should reflect the installed location.

$ export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}
$ pkg-config --variable=prefix ruby-3.5
/.

Currently pkg-config --define-prefix works because it overrides the prefix value.

$ pkg-config --variable=prefix --define-prefix ruby-3.5
/opt/local
Actions #1

Updated by nobu (Nobuyoshi Nakada) 6 days ago

  • Status changed from Open to Closed

Applied in changeset git|7c28fb2fb2544e5fed75ef216c4dd08084b38671.


[Bug #21546] Make the generated pc file relocatable

Actions

Also available in: Atom PDF

Like0
Like0