Changeset 1465


Ignore:
Timestamp:
Feb 6, 2010 2:10:34 PM (10 years ago)
Author:
stefan
Message:

cannot use libdir variable, since it just expands to another variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/BSPsplit/coin.m4

    r1464 r1465  
    36823682
    36833683    # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there
    3684     if test -d "${libdir}"; then
    3685       PKG_CONFIG_PATH="${libdir}/pkgconfig:$PKG_CONFIG_PATH"
     3684    # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig,
     3685    # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}...
     3686    if test -d "${prefix}"; then
     3687      PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH"
    36863688    fi
    36873689
Note: See TracChangeset for help on using the changeset viewer.