Fixes https://github.com/util-linux/util-linux/issues/3210#issuecomment-
3477915953
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
-e 's|@usrlib_execdir[@]|$(usrlib_execdir)|g' \
-e 's|@usrbin_execdir[@]|$(usrbin_execdir)|g' \
-e 's|@usrsbin_execdir[@]|$(usrsbin_execdir)|g' \
+ -e 's|@PTHREAD_LIBS[@]|$(PTHREAD_LIBS)|g' \
-e 's|@SYSTEMD_USER_LOCK[@]|$(SYSTEMD_USER_LOCK)|g' \
-e 's|@SOCKET_LIBS[@]|$(SOCKET_LIBS)|g' \
-e 's|@VERSION[@]|$(VERSION)|g' \
Description: Universally unique id library
Version: @LIBUUID_VERSION@
Cflags: -I${includedir}/uuid
-Libs.private: @SOCKET_LIBS@ -lpthread
+Libs.private: @SOCKET_LIBS@ @PTHREAD_LIBS@
Libs: -L${libdir} -luuid