From 0c4a26ec829448f8ac7072b8e1c7020d916594d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Sat, 24 Feb 2024 13:34:35 +0100 Subject: [PATCH] Build with -lrt --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 5300875..4dcf6f6 100755 --- a/scripts/install +++ b/scripts/install @@ -81,7 +81,7 @@ ynh_add_nginx_config ynh_script_progression --message="Compiling guacd..." --weight=30 pushd "$install_dir/.guacd-src" - ./configure --enable-allow-freerdp-snapshots --prefix="$install_dir" --datadir="$install_dir" --with-freerdp-plugin-dir="$install_dir/lib/x86_64-linux-gnu/freerdp2" + LDFLAGS="-lrt" ./configure --enable-allow-freerdp-snapshots --prefix="$install_dir" --datadir="$install_dir" --with-freerdp-plugin-dir="$install_dir/lib/x86_64-linux-gnu/freerdp2" ynh_exec_warn_less make ynh_exec_warn_less make install popd diff --git a/scripts/upgrade b/scripts/upgrade index 0351fe0..31f0a36 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -91,7 +91,7 @@ fi ynh_script_progression --message="Compiling guacd..." --weight=30 pushd "$install_dir/.guacd-src" - ./configure --enable-allow-freerdp-snapshots --prefix="$install_dir" --datadir="$install_dir" --with-freerdp-plugin-dir="$install_dir/lib/x86_64-linux-gnu/freerdp2" + LDFLAGS="-lrt" ./configure --enable-allow-freerdp-snapshots --prefix="$install_dir" --datadir="$install_dir" --with-freerdp-plugin-dir="$install_dir/lib/x86_64-linux-gnu/freerdp2" ynh_exec_warn_less make ynh_exec_warn_less make install popd