Ignore:
Timestamp:
Jul 11, 2013, 11:30:23 PM (12 years ago)
Author:
bird
Message:

header.kmk: detect [bin|lib|sbin] -> usr/[bin|lib|sbin] symbolic links in recent fedora.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/header.kmk

    r2624 r2688  
    12771277
    12781278else ifeq ($(KBUILD_TARGET),linux)
    1279  KBUILD_LIB_SEARCH_ROOTS := \
    1280         / \
    1281         /usr/ \
    1282         /usr/local/
     1279 if ($(realpath /bin),/usr/bin)
     1280  KBUILD_LIB_SEARCH_ROOTS := \
     1281        /usr/ \
     1282        / \
     1283        /usr/local/
     1284 else
     1285  KBUILD_LIB_SEARCH_ROOTS := \
     1286        / \
     1287        /usr/ \
     1288        /usr/local/
     1289 endif
    12831290 ifeq ($(KBUILD_TARGET_ARCH),amd64)
    12841291  KBUILD_LIB_SEARCH_SUBS := \
     
    15631570# end-of-file-content
    15641571__header_kmk__ := 1
    1565 endif # __header_kmk__
    1566 
    1567 
     1572endif # !__header_kmk__
     1573
     1574
Note: See TracChangeset for help on using the changeset viewer.