mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-29 12:34:17 +01:00
85141f17f9
libsystemd which is required by dbus has an optional dependency on liblzma and since we don't need it we can just strip it out of dbus
27 lines
1.3 KiB
Diff
27 lines
1.3 KiB
Diff
diff --git a/cmake/ConfigureChecks.cmake b/cmake/ConfigureChecks.cmake
|
|
index b7f3702..e2336ba 100644
|
|
--- a/cmake/ConfigureChecks.cmake
|
|
+++ b/cmake/ConfigureChecks.cmake
|
|
@@ -51,6 +51,7 @@ check_symbol_exists(closefrom "unistd.h" HAVE_CLOSEFROM) #
|
|
check_symbol_exists(environ "unistd.h" HAVE_DECL_ENVIRON)
|
|
check_symbol_exists(fstatfs "sys/vfs.h" HAVE_FSTATFS)
|
|
check_symbol_exists(getgrouplist "grp.h" HAVE_GETGROUPLIST) # dbus-sysdeps.c
|
|
+check_symbol_exists(getpeereid "sys/types.h;unistd.h" HAVE_GETPEEREID) # dbus-sysdeps.c,
|
|
check_symbol_exists(getpeerucred "ucred.h" HAVE_GETPEERUCRED) # dbus-sysdeps.c, dbus-sysdeps-win.c
|
|
check_symbol_exists(getpwnam_r "errno.h;pwd.h" HAVE_GETPWNAM_R) # dbus-sysdeps-util-unix.c
|
|
check_symbol_exists(getrandom "sys/random.h" HAVE_GETRANDOM)
|
|
diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake
|
|
index 77fc19c..2f25643 100644
|
|
--- a/cmake/config.h.cmake
|
|
+++ b/cmake/config.h.cmake
|
|
@@ -140,6 +140,9 @@
|
|
/* Define to 1 if you have getgrouplist */
|
|
#cmakedefine HAVE_GETGROUPLIST 1
|
|
|
|
+/* Define to 1 if you have getpeereid */
|
|
+#cmakedefine HAVE_GETPEEREID 1
|
|
+
|
|
/* Define to 1 if you have getpeerucred */
|
|
#cmakedefine HAVE_GETPEERUCRED 1
|
|
|