Ticket #12028: 0001-Have-B_FIND_PATH_LIB_DIRECTORY-return-the-respective.patch

File 0001-Have-B_FIND_PATH_LIB_DIRECTORY-return-the-respective.patch, 871 bytes (added by humdinger, 10 years ago)

patch

  • src/system/libroot/os/find_paths.cpp

    From 71668dc589eaecd796861fbd469adbbcd3cb0bcb Mon Sep 17 00:00:00 2001
    From: Humdinger <humdingerb@gmail.com>
    Date: Mon, 27 Apr 2015 18:18:08 +0200
    Subject: [PATCH] Have B_FIND_PATH_LIB_DIRECTORY return the respective
     architecture.
    
    ---
     src/system/libroot/os/find_paths.cpp | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/src/system/libroot/os/find_paths.cpp b/src/system/libroot/os/find_paths.cpp
    index 4da5915..076eaa0 100644
    a b get_relative_directory_path(size_t installationLocationIndex,  
    203203        case B_FIND_PATH_HEADERS_DIRECTORY:
    204204            return "/develop/headers%";
    205205        case B_FIND_PATH_LIB_DIRECTORY:
    206             return "/lib";
     206            return "/lib%";
    207207        case B_FIND_PATH_LOG_DIRECTORY:
    208208            return "/log";
    209209        case B_FIND_PATH_MEDIA_NODES_DIRECTORY: