mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
0c698ef037
Some systems (e.g. FreeBSD) might not have installed the appropriate pkg-config file as they should. We can workaround the issue by creating the .pc file they should have distributed. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
18 lines
305 B
C
18 lines
305 B
C
#include <stdio.h>
|
|
#include <zlib.h>
|
|
|
|
static const char *template =
|
|
"prefix=/usr\n"
|
|
"exec_prefix=${prefix}\n"
|
|
"libdir=${exec_prefix}/lib\n"
|
|
"\n"
|
|
"Name: zlib\n"
|
|
"Description: zlib compression library\n"
|
|
"Version: %s\n"
|
|
"Libs: -lz\n";
|
|
|
|
int main(void)
|
|
{
|
|
printf(template, ZLIB_VERSION);
|
|
return 0;
|
|
}
|