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 922470a commit e134ed9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -605,14 +605,14 @@ else
$4/$(CMAKE_CACHE): C_FLAGS := -DCMAKE_C_FLAGS="" # Reset to empty if not LIBJPEG_TURBO
endif

ifeq ($$($1_SUBSYSTEM, macos)
$4/$(CMAKE_CACHE): OSX_SYSROOT := -DCMAKE_OSX_SYSROOT=macOS
@echo "Setting OSX_SYSROOT for MacOSX"
ifeq ($$($1_SUBSYSTEM), macos)
$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 e134ed9

Please sign in to comment.