~kennylevinsen/seatd-devel

link with rt v1 NEEDS REVISION

Simeon Schaub
Simeon Schaub: 1
 link with rt

 1 files changed, 2 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~kennylevinsen/seatd-devel/patches/23402/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH] link with rt Export this patch

Simeon Schaub
Since seatd uses `clock_gettime`, this is needed when cross-compiling.
This came up in https://github.com/JuliaPackaging/Yggdrasil/pull/3193.
---
 meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 6299f4e..9f9de0b 100644
--- a/meson.build
+++ b/meson.build
@@ -164,7 +164,7 @@ lib = library(
	link_with: private_lib,
	include_directories: [include_directories('.', 'include')],
	install: true,
	link_args: symbols_flag,
	link_args: ['-lrt', symbols_flag],
	link_depends: symbols_file,
)

@@ -198,6 +198,7 @@ if with_server
		[ server_files, 'seatd/seatd.c' ],
		include_directories: [include_directories('.', 'include')],
		install: true,
		link_args: ['-lrt'],
	)
endif

-- 
2.32.0
Thank you for you patch!

On Sun, Jun 20 2021 at 04:01:18 PM +0200, Simeon Schaub 
<simeondavidschaub99@gmail.com> wrote: