Skip to content

Make pkg-config file relocatable - #847

Merged
gavv merged 1 commit into
roc-streaming:developfrom
baranovmv:fix/pkg_config_prefix
Aug 24, 2026
Merged

Make pkg-config file relocatable#847
gavv merged 1 commit into
roc-streaming:developfrom
baranovmv:fix/pkg_config_prefix

Conversation

@baranovmv

@baranovmv baranovmv commented Jul 21, 2026

Copy link
Copy Markdown
Member

Make libdir/incdir entries as prefix-relative paths,
so the .pc can be relocated to a diferent path.
Assert if a path is not inside prefix.

E.g.

10,11c10,11
< Libs: -L/roc/lib -lroc -lrt -ldl -lm -lpthread
< Cflags: -I/roc/include
---
> Libs: -L${prefix}/lib -lroc -lrt -ldl -lm -lpthread
> Cflags: -I${prefix}/include

@baranovmv
baranovmv requested a review from gavv July 21, 2026 14:39
@rocstreaming-bot

Copy link
Copy Markdown

🤖 Pull request description does not have a link to an issue.
If there is a related issue, please add it to the description using any of the supported formats.

@rocstreaming-bot rocstreaming-bot added the S-ready-for-review status: PR can be reviewed label Jul 21, 2026
@baranovmv baranovmv added this to the 0.5.0 milestone Jul 21, 2026
@gavv
gavv force-pushed the fix/pkg_config_prefix branch from 3ecdc90 to a6b231a Compare August 24, 2026 11:12
@gavv
gavv force-pushed the fix/pkg_config_prefix branch from 80cb54a to b8c6798 Compare August 24, 2026 12:26
@gavv
gavv merged commit 1b6865c into roc-streaming:develop Aug 24, 2026
@rocstreaming-bot rocstreaming-bot removed the S-ready-for-review status: PR can be reviewed label Aug 24, 2026
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.

3 participants