1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00

Fix guile-config for Guile 3.0

* meta/guile-config.in (guile-module): Use pkg-config for effective
  version.
This commit is contained in:
Andy Wingo 2018-10-07 16:59:34 +02:00
parent 5787f4e516
commit 3e22eef52c

View file

@ -8,7 +8,7 @@ exec "@installed_guile@" -e main -s $0 "$@"
;;;; guile-config --- utility for linking programs with Guile
;;;; Jim Blandy <jim@red-bean.com> --- September 1997
;;;;
;;;; Copyright (C) 1998, 2001, 2004, 2005, 2006, 2008, 2009, 2011 Free Software Foundation, Inc.
;;;; Copyright (C) 1998,2001,2004-2006,2008-2009,2011,2018 Free Software Foundation, Inc.
;;;;
;;;; This library is free software; you can redistribute it and/or
;;;; modify it under the terms of the GNU Lesser General Public
@ -77,7 +77,7 @@ exec "@installed_guile@" -e main -s $0 "$@"
(dle " " p " --help - show usage info (this message)")
(dle " " p " --help SUBCOMMAND - show help for SUBCOMMAND")))
(define guile-module "guile-2.2")
(define guile-module "guile-@GUILE_EFFECTIVE_VERSION@")
(define (pkg-config . args)
(let* ((real-args (cons %pkg-config-program args))