]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
autotools: add Libs.private to uuid.pc
authorKarel Zak <kzak@redhat.com>
Mon, 23 Sep 2024 10:01:40 +0000 (12:01 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 3 Jan 2025 11:21:42 +0000 (12:21 +0100)
Addresses: https://github.com/util-linux/util-linux/issues/3210
Signed-off-by: Karel Zak <kzak@redhat.com>
(cherry picked from commit 81ea117e0396274808a77d40bf11af44ea047285)

Makefile.am
libuuid/uuid.pc.in

index 0662effe00565bdaefd67e33b5c4d24600950166..8204bc070ce19c92fd8eb3dddd761ba55b94130e 100644 (file)
@@ -183,6 +183,7 @@ edit_cmd = sed \
         -e 's|@usrlib_execdir[@]|$(usrlib_execdir)|g' \
         -e 's|@usrbin_execdir[@]|$(usrbin_execdir)|g' \
         -e 's|@usrsbin_execdir[@]|$(usrsbin_execdir)|g' \
+        -e 's|@SOCKET_LIBS[@]|$(SOCKET_LIBS)|g' \
         -e 's|@VERSION[@]|$(VERSION)|g' \
         -e 's|@ADJTIME_PATH[@]|$(ADJTIME_PATH)|g' \
         -e 's|@LIBUUID_VERSION[@]|$(LIBUUID_VERSION)|g' \
index 875de19bc21a760e9f99f1e2bc357deb812c9f6d..51929fe80d72e593775bb6554c7172aff0cb8e3f 100644 (file)
@@ -6,6 +6,6 @@ includedir=@includedir@
 Name: uuid
 Description: Universally unique id library
 Version: @LIBUUID_VERSION@
-Requires:
 Cflags: -I${includedir}/uuid
+Libs.private: @SOCKET_LIBS@ -lpthread
 Libs: -L${libdir} -luuid