X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Flibucw.pc;h=5e6801fa7869b47aef8f613c74062bab5403c432;hb=476c0da5319b155e0f4abec2b1fe6bc0c1fb6df7;hp=e2e8e084ed9b14a3c355c361a67e08813fd658c2;hpb=e2eac235f4864fd3e4eb8fbd92aad44a267b6ba5;p=libucw.git diff --git a/ucw/libucw.pc b/ucw/libucw.pc index e2e8e084..5e6801fa 100644 --- a/ucw/libucw.pc +++ b/ucw/libucw.pc @@ -9,6 +9,12 @@ threads=-lpthread threads= #endif +#ifdef CONFIG_PCRE +regex=-lpcre +#else +regex= +#endif + perl_modules_dir=@INSTALL_PERL_DIR@ perl_module_flags=-I${perl_modules_dir} build_system=@INSTALL_SHARE_DIR@/ucw/build @@ -17,4 +23,4 @@ Name: libucw Description: A library of utility functions and data structures Version: @SHERLOCK_VERSION@ Cflags: -I${incdir} -Libs: -L${libdir} -lucw ${threads} @LIBUCW_LIBS@ +Libs: -L${libdir} -lucw ${threads} ${regex}