summaryrefslogtreecommitdiff
path: root/user/libptytty/force-utmps.patch
blob: ce9c34d6d013110caded9e6350d0f5860f9068b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
We need to ensure linkage to utmps, or utmpx won't work.

--- libptytty-2.0/CMakeLists.txt.old	2021-08-04 09:07:44.000000000 -0500
+++ libptytty-2.0/CMakeLists.txt	2024-05-30 19:50:40.078963587 -0500
@@ -318,6 +318,7 @@
   target_link_libraries(ptytty PRIVATE util)
   list(APPEND LIBS -lutil)
 endif()
+target_link_libraries(ptytty PRIVATE :libutmps.so.0.1)
 
 configure_file(
   libptytty.pc.in