Project

General

Profile

Actions

Bug #7913

closed

`./configure --enable-multiarch` fails

Bug #7913: `./configure --enable-multiarch` fails

Added by terceiro (Antonio Terceiro) over 12 years ago. Updated over 12 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.0.0dev (2013-02-22 trunk 39384)
Backport:
[ruby-core:52693]

Description

Hi, since the changes in bug #7874 ./configure --enable-multiarch does not work in trunk anymore:

$ autoreconf && ./configure --target=x86_64-linux-gnu --enable-multiarch
[...]
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ruby-2.0.pc
Variable 'archlibdir' not defined in './ruby.tmp.pc'

... and ./configure exits with a failure status (1).

The attached patch fixes this by moving the archlibdir variable up in template,
pkg-config template so that it is defined at the point of substitution in the
LDFLAGS part below.


Files

Actions

Also available in: PDF Atom