Skip to content

Commit

Permalink
Specify -latomic_ops as private in pkg-config file
Browse files Browse the repository at this point in the history
(fix of commit 02a44ee)

PR #655 (bdwgc).

Actually, bdwgc itself may requires atomic_ops, but it does not require
downstream packages (like guile) to require atomic_ops.  Now we specify
@ATOMIC_OPS_LIBS@ in Libs.private rather than in Libs, so that will
not confuse downstream packages, especially when performing check.

* bdw-gc.pc.in (Libs.private): Move @ATOMIC_OPS_LIBS@ from Libs.
  • Loading branch information
fundawang authored and ivmai committed Aug 26, 2024
1 parent 2687663 commit 10b5ea0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bdw-gc.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ includedir=@includedir@
Name: Boehm-Demers-Weiser Conservative Garbage Collector
Description: A garbage collector for C and C++
Version: @PACKAGE_VERSION@
Libs: -L${libdir} @ATOMIC_OPS_LIBS@ -lgc @THREADDLLIBS@
Libs: -L${libdir} -lgc @THREADDLLIBS@
Libs.private: @ATOMIC_OPS_LIBS@
Cflags: -I${includedir}

0 comments on commit 10b5ea0

Please sign in to comment.