tracy: Remove UniformTypeIdentifiers depending on SDK
The UniformTypeIdentifiers is only required on SDK 11+. On SDK 10 (on which it is not available) we can remove it using a patch.
This commit is contained in:
parent
24aff837bd
commit
b4fe08d2d6
@ -0,0 +1,13 @@
|
||||
diff --git a/profiler/build/unix/legacy.mk b/profiler/build/unix/legacy.mk
|
||||
index 24765f1a..8baffb68 100644
|
||||
--- a/profiler/build/unix/legacy.mk
|
||||
+++ b/profiler/build/unix/legacy.mk
|
||||
@@ -16,7 +16,7 @@ else
|
||||
UNAME := $(shell uname -s)
|
||||
ifeq ($(UNAME),Darwin)
|
||||
SRC3 += ../../../nfd/nfd_cocoa.m
|
||||
- LIBS += -framework CoreFoundation -framework AppKit -framework UniformTypeIdentifiers
|
||||
+ LIBS += -framework CoreFoundation -framework AppKit
|
||||
else
|
||||
ifdef TRACY_GTK_FILESELECTOR
|
||||
SRC += ../../../nfd/nfd_gtk.cpp
|
@ -15,6 +15,9 @@ in stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-K1lQNRS8+ju9HyKNVXtHqslrPWcPgazzTitvwkIO3P4";
|
||||
};
|
||||
|
||||
patches = [ ]
|
||||
++ lib.optionals (stdenv.isDarwin && !(lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11")) [ ./0001-remove-unifiedtypeidentifiers-framework ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ glfw capstone ]
|
||||
|
Loading…
Reference in New Issue
Block a user