X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ucw%2Flibucw.pc;h=7d1c1542ade4f7e713f154af9cdad52b16e4d360;hb=39b28bffc195348b93294b5fa0a8b9e87ea7317a;hp=c4784eb297e12d0c8337dffced4541c441597e93;hpb=a81828fdd27436b0577b048d6fad7cc1c70ac23e;p=libucw.git diff --git a/ucw/libucw.pc b/ucw/libucw.pc index c4784eb2..7d1c1542 100644 --- a/ucw/libucw.pc +++ b/ucw/libucw.pc @@ -9,12 +9,21 @@ threads=-lpthread threads= #endif -#ifdef CONFIG_PCRE +#ifdef CONFIG_UCW_PCRE regex=-lpcre #else regex= #endif +#ifdef CONFIG_UCW_MONOTONIC_CLOCK +rt=-lrt +#else +rt= +#endif + +# Override if you want to use the -pic version +picsuffix= + perl_modules_dir=@INSTALL_PERL_DIR@ perl_module_flags=-I${perl_modules_dir} build_system=@INSTALL_SHARE_DIR@/ucw/build @@ -23,4 +32,4 @@ Name: libucw Description: A library of utility functions and data structures Version: @UCW_VERSION@ Cflags: -I${incdir} -Libs: -L${libdir} -lucw ${threads} ${regex} +Libs: -L${libdir} -lucw${picsuffix} ${threads} ${regex} ${rt}