]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/libucw.pc
Logging: Introduce LS_NUM_TYPES and use it.
[libucw.git] / ucw / libucw.pc
index e2e8e084ed9b14a3c355c361a67e08813fd658c2..5e6801fa7869b47aef8f613c74062bab5403c432 100644 (file)
@@ -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}