substitute @LIBSPOT_PTHREAD@ in spot/libspot.pc

Fixes #520, reported by Fangyi Zhou.

* spot/Makefile.am (libspot.pc): Substitute @LIBSPOT_PTHREAD@.
* THANKS: Add Fangyi Zhou.
This commit is contained in:
Alexandre Duret-Lutz 2022-10-11 15:34:09 +02:00
parent bfb8f0a078
commit da356f1142
2 changed files with 2 additions and 0 deletions

1
THANKS
View file

@ -15,6 +15,7 @@ Edmond Irani Liu
Ernesto Posse
Étienne Renault
Fabrice Kordon
Fangyi Zhou
Felix Klaedtke
Florian Perlié-Long
František Blahoudek

View file

@ -68,6 +68,7 @@ libspot.pc: $(srcdir)/libspot.pc.in Makefile
-e 's![@]includedir[@]!$(includedir)!g' \
-e 's![@]libdir[@]!$(libdir)!g' \
-e 's![@]PACKAGE_VERSION[@]!$(PACKAGE_VERSION)!g' \
-e 's![@]LIBSPOT_PTHREAD[@]!$(LIBSPOT_PTHREAD)!g' \
$(srcdir)/libspot.pc.in > $@.tmp && mv $@.tmp $@
CLEANFILES = libspot.pc