Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Commit

Permalink
pkgconfig: Fix for cross compilation (open-source-parsers#1027)
Browse files Browse the repository at this point in the history
exec_ and prefix must be overridden  in such a case.

Makes the .pc file more consistent with other projects.
  • Loading branch information
neheb authored and baylesj committed Sep 17, 2019
1 parent c97bd59 commit 21e3d21
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg-config/jsoncpp.pc.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=@CMAKE_INSTALL_PREFIX@
libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@

Name: jsoncpp
Description: A C++ library for interacting with JSON
Expand Down

0 comments on commit 21e3d21

Please sign in to comment.