VirtualBox

Changeset 3587 in kBuild


Ignore:
Timestamp:
Jan 31, 2023 9:57:54 AM (22 months ago)
Author:
bird
Message:

LIBSDK2.kmk: macOS fixes.

File:
1 edited

Legend:

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

    r3586 r3587  
    7474 endif
    7575endif
     76ifeq ($(KBUILD_TARGET).$(_SDK_LIBSDL2_IS_FRAMEWORK),darwin.yes)
     77 PATH_SDK_LIBSDL2_FRAMEWORKS_DIR := $(abspath $(PATH_SDK_LIBSDL2)/..)
     78endif
    7679
    7780#
     
    123126 # General Properties used by kBuild
    124127 SDK_LIBSDL2_INCS         ?= $(PATH_SDK_LIBSDL2)/Headers
    125  SDK_LIBSDL2_LDFLAGS      ?= -framework SDL
     128 SDK_LIBSDL2_LDFLAGS      ?= -F$(PATH_SDK_LIBSDL2_FRAMEWORKS_DIR) -framework SDL2
     129 SDK_LIBSDL2_CFLAGS       ?= -F$(PATH_SDK_LIBSDL2_FRAMEWORKS_DIR)
     130 SDK_LIBSDL2_CXXFLAGS     ?= -F$(PATH_SDK_LIBSDL2_FRAMEWORKS_DIR)
     131 SDK_LIBSDL2_OBJCFLAGS    ?= -F$(PATH_SDK_LIBSDL2_FRAMEWORKS_DIR)
     132 SDK_LIBSDL2_OBJCXXFLAGS  ?= -F$(PATH_SDK_LIBSDL2_FRAMEWORKS_DIR)
    126133
    127134else # ASSUMES Unix like system
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