From d79cc53a4b3b501f98d568c6d1e5c1d55cb03dad Mon Sep 17 00:00:00 2001 From: Matthew Caruana Galizia Date: Fri, 8 Mar 2024 21:26:16 +0100 Subject: [PATCH] specify CoreFoundation framework flag on Mac Without this flag, testdisk won't compiled on Mac. --- compilation_env.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compilation_env.rst b/compilation_env.rst index 47d7f9d..8c90779 100644 --- a/compilation_env.rst +++ b/compilation_env.rst @@ -61,7 +61,7 @@ Decompress and compile them (Replace :file:`/User/kmaster` by the correct path) cd e2fsprogs-1.46.2 && ./configure && make && cd .. cd ntfs-3g_ntfsprogs-2017.3.23 && ./configure --disable-ntfs-3g --disable-nfconv && make && cd .. mkdir -p testdisk - ../testdisk-7.2-WIP/configure --disable-qt \ + LDFLAGS="-framework CoreFoundation" ../testdisk-7.2-WIP/configure --disable-qt \ --with-ext2fs-lib=/Users/kmaster/e2fsprogs-1.46.2/lib \ --with-ext2fs-includes=/Users/kmaster/e2fsprogs-1.46.2/lib \ --with-ntfs3g-lib=/Users/kmaster/ntfs-3g_ntfsprogs-2017.3.23/libntfs-3g/.libs/ \