Skip to content

Commit

Permalink
Editor (SunOS): enable libelf on SunOS
Browse files Browse the repository at this point in the history
  • Loading branch information
CarterLi committed Aug 24, 2024
1 parent 34bc662 commit c8d85e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ cmake_dependent_option(ENABLE_FREETYPE "Enable freetype" ON "ANDROID" OFF)
cmake_dependent_option(ENABLE_PULSE "Enable pulse" ON "LINUX OR SunOS" OFF)
cmake_dependent_option(ENABLE_DDCUTIL "Enable ddcutil" ON "LINUX" OFF)
cmake_dependent_option(ENABLE_DIRECTX_HEADERS "Enable DirectX headers for WSL" ON "LINUX" OFF)
cmake_dependent_option(ENABLE_ELF "Enable libelf" ON "LINUX OR FreeBSD OR SunOS OR ANDROID" OFF)
cmake_dependent_option(ENABLE_ELF "Enable libelf" ON "LINUX OR FreeBSD OR ANDROID" OFF)
cmake_dependent_option(ENABLE_THREADS "Enable multithreading" ON "Threads_FOUND" OFF)

option(ENABLE_SYSTEM_YYJSON "Use system provided (instead of fastfetch embedded) yyjson library" OFF)
Expand Down
2 changes: 1 addition & 1 deletion src/util/binary_linux.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "binary.h"

#ifdef FF_HAVE_ELF
#if defined(FF_HAVE_ELF) || defined(__sun)

#include "common/io/io.h"
#include "common/library.h"
Expand Down

0 comments on commit c8d85e0

Please sign in to comment.