commit d942a1f8742f293239f34f3b8438ff42bb950991 from: Omar Polo date: Wed Jul 13 10:18:38 2022 UTC add a paragraph about libbsd commit - 8e006e859081b250b0aa0cd4398a69939a97859d commit + d942a1f8742f293239f34f3b8438ff42bb950991 blob - 6678cda29590598b56452e68e173c4feb300166e blob + 46c09cdfcfc0e4a9c62f13efe6871b900dc7aff1 --- README.md +++ README.md @@ -38,7 +38,16 @@ hard-coded flags (e.g. `-lflac` for flac) and finally pkg-config if available. pkg-config auto-detection can be disable by passing `PKG_CONFIG=false` (or the empty string) +For Linux users with libbsd installed, the configure script can be +instructed to use libbsd exclusively as follows: + CFLAGS="$(pkg-config --cflags libbsd-overlay)" \ + ./configure LDFLAGS="$(pkg-config --libs libbsd-overlay)" + +For new versions of libbsd, this will pull in the library for all +compatibility replacements instead of those within `compats.c`. + + ## Usage The fine man page has all nitty gritty details, but the TL;DR is