I need it when CONFIG_PCRE is enabled. After the internal copy of a
reliable regexp library has been deleted from Sherlock source codes, I
cannot compile Sherlock on Darwin with the default libraries. Therefore I
have installed pcre, but it isn't automatically linked to everything yet.
kmp.h kmp-search.h binsearch.h \
partmap.h
+export LIBUCW_LIBS=
+
ifdef CONFIG_UCW_THREADS
# Some modules require threading
LIBUCW_MODS+=threads-conf workqueue asio fb-direct
include $(s)/ucw/getopt/Makefile
endif
+ifdef CONFIG_PCRE
+LIBUCW_LIBS+=-lpcre
+endif
+
LIBUCW_INCLUDES=$(LIBUCW_MAIN_INCLUDES)
include $(s)/ucw/sorter/Makefile
Description: A library of utility functions and data structures
Version: @SHERLOCK_VERSION@
Cflags: -I${incdir}
-Libs: -L${libdir} -lucw ${threads}
+Libs: -L${libdir} -lucw ${threads} @LIBUCW_LIBS@