commit 3560f71c4f71ea9b2b5ce7765ef52a422264e872
parent 0d7839637a8c887d2a687f06f0a00a6b10d87a61
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Sun, 14 May 2023 19:39:04 +0200
Update the pkg-config file
Make the need for the random123 library private since it is only used
internally and add stdc++ as the private library required for static
linking.
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/star-sp.pc.in b/star-sp.pc.in
@@ -2,9 +2,11 @@ prefix=@PREFIX@
includedir=${prefix}/include
libdir=${prefix}/lib
-Requires.private: rsys >= @RSYS_VERSION@, random123 >= @RANDOM123_VERSION@
+Requires: rsys >= @RSYS_VERSION@,
+Requires.private: random123 >= @RANDOM123_VERSION@
Name: Star-SamPling
Description: Star-Sampling library
Version: @VERSION@
Libs: -L${libdir} -lstar-sp
+Libs.private: -lstdc++
CFlags: -I${includedir}