Skip to content

Commit

Permalink
fix: zlib renaming worked, fixing jpeg arch symbols - testing adding …
Browse files Browse the repository at this point in the history
…cmake_osx_sysroot
  • Loading branch information
samuelOsborne committed Dec 5, 2024
1 parent dd34752 commit 922470a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -606,13 +606,13 @@ $4/$(CMAKE_CACHE): C_FLAGS := -DCMAKE_C_FLAGS="" # Reset to empty if not LIBJPEG
endif

ifeq ($$($1_SUBSYSTEM, macos)
$4/$(CMAKE_CACHE): OSX_SYSROOT := -DCMAKE_OSX_SYSROOT=macOS
@echo "Setting OSX_SYSROOT for MacOSX"
$4/$(CMAKE_CACHE): OSX_SYSROOT := -DCMAKE_OSX_SYSROOT=macOS
@echo "Setting OSX_SYSROOT for MacOSX"
endif

ifeq ($$($1_SUBSYSTEM), ios)
$4/$(CMAKE_CACHE): OSX_SYSROOT := -DCMAKE_OSX_SYSROOT=iOS
@echo "Setting OSX_SYSROOT for iPhoneOS"
$4/$(CMAKE_CACHE): OSX_SYSROOT := -DCMAKE_OSX_SYSROOT=iOS
@echo "Setting OSX_SYSROOT for iPhoneOS"
endif

# ifneq ($(filter $$($1_PLATFORM), iPhoneSimulator),)
Expand Down

0 comments on commit 922470a

Please sign in to comment.