Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The installed pkg-config meta-data is wrong when installing anywhere other than /opt/bb #290

Open
mattrm456 opened this issue Dec 16, 2022 · 0 comments

Comments

@mattrm456
Copy link

When I build and install using:

eval $(bde_build_env.py --cpp-std=17 --build-type=Release --build-dir=/tmp/bde --install-dir=/home/my/bde)
cmake_build.py configure
cmake_build.py build
cmake_build.py --install_dir=/home/my/bde --prefix=/ install

The headers and libraries are correctly installed to /home/my/bde but the installed pkg-config meta-data, e.g. /home/my/bde/lib/pkg-config/bdl.pc contains:

prefix=/opt/bb
libdir=${prefix}/lib
includedir=${prefix}/include

Name: bdl
Description: The bdl package.
Version: 3.109.0
Requires:
Requires.private: bsl inteldfp pcre2
Cflags: -I${includedir}
Libs: -L${libdir} -lbdl

That is the prefix is /opt/bb even though that's not what I specified and that's not where the files have been installed.

@mattrm456 mattrm456 changed the title The installed pkg-config meta-data when installing anywhere other than /opt/bb The installed pkg-config meta-data is wrong when installing anywhere other than /opt/bb Dec 16, 2022
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

No branches or pull requests

1 participant