VirtualBox

Changeset 2566 in kBuild


Ignore:
Timestamp:
Mar 2, 2012 12:58:25 PM (13 years ago)
Author:
bird
Message:

LIBSDL.kmk: fixed solaris/amd64 bustage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/sdks/LIBSDL.kmk

    r2561 r2566  
    5858
    5959  ifeq ($(PATH_SDK_LIBSDL),)
    60    PATH_SDK_LIBSDL := $(firstword $(wildcard $(addsuffix libSDL.*, $(KBUILD_LIB_SEARCH_PATHS))))
    61    ifneq ($(PATH_SDK_LIBSDL),)
    62     PATH_SDK_LIBSDL := $(patsubst %/,%,$(dir $(patsubst %/,%,$(dir $(PATH_SDK_LIBSDL)))))
     60   PATH_SDK_LIBSDL := $(firstword $(foreach root,$(KBUILD_LIB_SEARCH_ROOTS) \
     61        ,$(if $(wildcard $(addsuffix libSDL.*,$(addprefix $(root),$(KBUILD_LIB_SEARCH_SUBS)))),$(root),) ))
     62   ifeq ($(PATH_SDK_LIBSDL),/)
     63        PATH_SDK_LIBSDL := /.
     64   else ifneq ($(PATH_SDK_LIBSDL),)
     65        PATH_SDK_LIBSDL := $(patsubst %/,%,$(PATH_SDK_LIBSDL))
    6366   else
    6467    $(warning kBuild: PATH_SDK_LIBSDL couldn't be determined!)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette