Source: xrt
Version: 202210.2.13.466+dfsg-8.1
Tags: patch upstream
User: helm...@debian.org
Usertags: libcrypt-unused

xrt links -lcrypt, but uses none of its symbols.  As we consider 
dropping libcrypt-dev from build-essential, this may cause a FTBFS. 
Consider dropping the unnecessary linkage already.

Helmut
--- xrt-202210.2.13.466+dfsg.orig/src/runtime_src/core/edge/common_em/CMakeLists.txt
+++ xrt-202210.2.13.466+dfsg/src/runtime_src/core/edge/common_em/CMakeLists.txt
@@ -55,7 +55,6 @@
   xrt_coreutil
   dl
   pthread
-  crypt
   rt
   )
 
--- xrt-202210.2.13.466+dfsg.orig/src/runtime_src/core/pcie/emulation/common_em/CMakeLists.txt
+++ xrt-202210.2.13.466+dfsg/src/runtime_src/core/pcie/emulation/common_em/CMakeLists.txt
@@ -48,7 +48,6 @@
   xrt_coreutil
   dl
   pthread
-  crypt
   rt
   )
 
--- xrt-202210.2.13.466+dfsg.orig/src/runtime_src/xocl/CMakeLists.txt
+++ xrt-202210.2.13.466+dfsg/src/runtime_src/xocl/CMakeLists.txt
@@ -87,7 +87,6 @@
   ${Boost_SYSTEM_LIBRARY}
   dl
   pthread
-  crypt
   uuid
   rt
   )

Reply via email to