mirror of
https://git.kernel.org/pub/scm/libs/libcap/libcap.git
synced 2026-01-27 09:54:36 +00:00
This addresses the following bug: https://bugzilla.kernel.org/show_bug.cgi?id=219456 insofar as it eliminates the need for -wrap=pthread_create linkage. Mostly, code that uses -lpsx functions can simply link with -lpsx now. However, for legacy reasons the library still works when linked wrapped or with the new content of the libpsx.pc file: -Wl,--no-as-needed -Wl,--whole-archive -lpsx -Wl,--no-whole-archive -Wl,--as-needed -lpthread These last options are required for getting -lcap to act at a consistent process level and not a thread level. Signed-off-by: Andrew G. Morgan <morgan@kernel.org>