Unverified Commit 5126ff48 authored by David Seifert's avatar David Seifert
Browse files

Revert "Use pcfiledir for prefix in pkgconfig file"

The change makes implicit assumptions on the layout of the install
tree, which is going to break in many ways.

The correct solution is to use the `PKG_CONFIG_SYSROOT_DIR` variable
to inject the cross-compiled sysroot into `-I` and `-L` paths.
parent 76a560c8
prefix=${pcfiledir}/../.. libdir=@CMAKE_INSTALL_FULL_LIBDIR@
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
Name: gmock Name: gmock
Description: GoogleMock (without main() function) Description: GoogleMock (without main() function)
......
prefix=${pcfiledir}/../.. libdir=@CMAKE_INSTALL_FULL_LIBDIR@
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
Name: gmock_main Name: gmock_main
Description: GoogleMock (with main() function) Description: GoogleMock (with main() function)
......
prefix=${pcfiledir}/../.. libdir=@CMAKE_INSTALL_FULL_LIBDIR@
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
Name: gtest Name: gtest
Description: GoogleTest (without main() function) Description: GoogleTest (without main() function)
......
prefix=${pcfiledir}/../.. libdir=@CMAKE_INSTALL_FULL_LIBDIR@
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
Name: gtest_main Name: gtest_main
Description: GoogleTest (with main() function) Description: GoogleTest (with main() function)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment