mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
teleport: rename references to rdp library to librdpclient.h
The file was renamed upstream, so the patch and import have to be updated respectively.
This commit is contained in:
@@ -60,7 +60,7 @@ let
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/include
|
||||
cp ${finalAttrs.buildAndTestSubdir}/librdprs.h $out/include/
|
||||
cp ${finalAttrs.buildAndTestSubdir}/librdpclient.h $out/include/
|
||||
'';
|
||||
});
|
||||
|
||||
|
||||
@@ -17,6 +17,6 @@ index 4357d7aa1..7e21a0076 100644
|
||||
+#cgo LDFLAGS: -L${SRCDIR}/../../../../../lib -lpthread -ldl -lm -lssl -lcrypto
|
||||
+#cgo linux LDFLAGS: -l:librdp_client.a
|
||||
+#cgo darwin LDFLAGS: -framework CoreFoundation -framework Security -lrdp_client
|
||||
#include <librdprs.h>
|
||||
#include <librdpclient.h>
|
||||
*/
|
||||
import "C"
|
||||
|
||||
Reference in New Issue
Block a user