- '()))
- #:phases (modify-phases %standard-phases
- (add-after 'unpack 'adjust-pc-file
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((libatomic-ops (assoc-ref inputs "libatomic-ops")))
- ;; GC 7.6.10 and later includes -latomic_ops in the
- ;; pkg-config file. To avoid propagation, insert an
- ;; absolute reference so dependent programs can find it.
- (substitute* "bdw-gc.pc.in"
- (("@ATOMIC_OPS_LIBS@" match)
- (string-append "-L" libatomic-ops "/lib "
- match)))
- #t))))))