Changeset 2566 in kBuild
- Timestamp:
- Mar 2, 2012 12:58:25 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/sdks/LIBSDL.kmk
r2561 r2566 58 58 59 59 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)) 63 66 else 64 67 $(warning kBuild: PATH_SDK_LIBSDL couldn't be determined!)
Note:
See TracChangeset
for help on using the changeset viewer.