X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ucw%2Flibucw.pc;h=7d1c1542ade4f7e713f154af9cdad52b16e4d360;hb=05ffab94be8da943cffb8fb30d7073ab78aef94c;hp=5e6801fa7869b47aef8f613c74062bab5403c432;hpb=6173bd651a7dbcfecf9e55fbb9c3d4940a040c3b;p=libucw.git diff --git a/ucw/libucw.pc b/ucw/libucw.pc index 5e6801fa..7d1c1542 100644 --- a/ucw/libucw.pc +++ b/ucw/libucw.pc @@ -9,18 +9,27 @@ 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 Name: libucw Description: A library of utility functions and data structures -Version: @SHERLOCK_VERSION@ +Version: @UCW_VERSION@ Cflags: -I${incdir} -Libs: -L${libdir} -lucw ${threads} ${regex} +Libs: -L${libdir} -lucw${picsuffix} ${threads} ${regex} ${rt}