From de232cfe43786205ff39a7a80fe43275221281d3 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 21 Nov 2008 20:54:00 +0100 Subject: [PATCH] Added an ability to build static position-independent version of libucw. This is useful when you want to link libucw statically to a shared library. --- ucw/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/ucw/Makefile b/ucw/Makefile index 8f2be3f6..27d0635f 100644 --- a/ucw/Makefile +++ b/ucw/Makefile @@ -76,6 +76,7 @@ include $(s)/ucw/doc/Makefile LIBUCW_MOD_PATHS=$(addprefix $(o)/ucw/,$(LIBUCW_MODS)) $(o)/ucw/libucw.a: $(addsuffix .o,$(LIBUCW_MOD_PATHS)) +$(o)/ucw/libucw-pic.a: $(addsuffix .oo,$(LIBUCW_MOD_PATHS)) $(o)/ucw/libucw.so: $(addsuffix .oo,$(LIBUCW_MOD_PATHS)) $(o)/ucw/hashfunc.o $(o)/ucw/hashfunc.oo: CFLAGS += -funroll-loops -- 2.39.2