summary refs log tree commit diff
path: root/pkgs/servers/teleport/rdpclient.patch
diff options
context:
space:
mode:
authorJustinas Stankevicius <justinas@justinas.org>2022-04-25 19:30:13 +0300
committerJustinas Stankevicius <justinas@justinas.org>2022-05-09 23:35:46 +0300
commite3a4076faadb2476710f7712e7ad3579f4056441 (patch)
tree48433583dce9ee3b8d3c5f357b60b232e0094561 /pkgs/servers/teleport/rdpclient.patch
parent25cf5ebcd09b155219b11fccff44bd34a61dfb77 (diff)
downloadnixpkgs-e3a4076faadb2476710f7712e7ad3579f4056441.tar
nixpkgs-e3a4076faadb2476710f7712e7ad3579f4056441.tar.gz
nixpkgs-e3a4076faadb2476710f7712e7ad3579f4056441.tar.bz2
nixpkgs-e3a4076faadb2476710f7712e7ad3579f4056441.tar.lz
nixpkgs-e3a4076faadb2476710f7712e7ad3579f4056441.tar.xz
nixpkgs-e3a4076faadb2476710f7712e7ad3579f4056441.tar.zst
nixpkgs-e3a4076faadb2476710f7712e7ad3579f4056441.zip
teleport: add rdpclient
Diffstat (limited to 'pkgs/servers/teleport/rdpclient.patch')
-rw-r--r--pkgs/servers/teleport/rdpclient.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/servers/teleport/rdpclient.patch b/pkgs/servers/teleport/rdpclient.patch
new file mode 100644
index 00000000000..141d85ce42c
--- /dev/null
+++ b/pkgs/servers/teleport/rdpclient.patch
@@ -0,0 +1,17 @@
+diff --git a/lib/srv/desktop/rdp/rdpclient/client.go b/lib/srv/desktop/rdp/rdpclient/client.go
+index d191c768f..71117a30d 100644
+--- a/lib/srv/desktop/rdp/rdpclient/client.go
++++ b/lib/srv/desktop/rdp/rdpclient/client.go
+@@ -56,10 +56,10 @@ package rdpclient
+ #cgo linux,amd64 LDFLAGS: -L${SRCDIR}/../../../../../target/x86_64-unknown-linux-gnu/release
+ #cgo linux,arm LDFLAGS: -L${SRCDIR}/../../../../../target/arm-unknown-linux-gnueabihf/release
+ #cgo linux,arm64 LDFLAGS: -L${SRCDIR}/../../../../../target/aarch64-unknown-linux-gnu/release
+-#cgo linux LDFLAGS: -l:librdp_client.a -lpthread -ldl -lm
++#cgo linux LDFLAGS: -l:librdp_client.a -lpthread -ldl -lm -lssl -lcrypto
+ #cgo darwin,amd64 LDFLAGS: -L${SRCDIR}/../../../../../target/x86_64-apple-darwin/release
+ #cgo darwin,arm64 LDFLAGS: -L${SRCDIR}/../../../../../target/aarch64-apple-darwin/release
+-#cgo darwin LDFLAGS: -framework CoreFoundation -framework Security -lrdp_client -lpthread -ldl -lm
++#cgo darwin LDFLAGS: -framework CoreFoundation -framework Security -lrdp_client -lpthread -ldl -lm -lssl -lcrypto
+ #include <librdprs.h>
+ */
+ import "C"