unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob a42feab1096a7cedfcb8c57282f73032ea9f1435 538 bytes (raw)
name: gnu/packages/patches/boost-fix-transitive-linking.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
Patch from https://github.com/boostorg/boost_install/issues/47
which should be included in the Boost 1.76 release.

This patch prevents CMake from explicitly linking against Boost dependencies
when building against the shared Boost libraries.
--- a/tools/boost_install/boost-install.jam
+++ b/tools/boost_install/boost-install.jam
@@ -483,7 +483,7 @@ rule generate-cmake-variant- ( target : sources * : properties * )
 
     .info "  deps3=" $(deps3) ;
 
-    if $(deps3)
+    if $(deps3) && $(link) = static
     {
         print.text
 

debug log:

solving a42feab109 ...
found a42feab109 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).