openbsd-ports/textproc/icu4c/patches/patch-source_common_Makefile_in
2010-04-05 21:40:24 +00:00

13 lines
536 B
Plaintext

$OpenBSD: patch-source_common_Makefile_in,v 1.5 2010/04/05 21:40:24 landry Exp $
--- source/common/Makefile.in.orig Sat Mar 20 11:18:11 2010
+++ source/common/Makefile.in Sat Mar 20 11:19:31 2010
@@ -63,7 +63,7 @@ endif
CPPFLAGS += -I$(srcdir) -I$(top_srcdir)/i18n $(LIBCPPFLAGS) $(CPPFLAGSICUUC)
# we want DEFS here, because we want icucfg.h
DEFS += -DU_COMMON_IMPLEMENTATION @DEFS@
-LDFLAGS += $(LDFLAGSICUUC)
+LDFLAGS += -fPIC $(LDFLAGSICUUC)
# for plugin configuration
CPPFLAGS += "-DDEFAULT_ICU_PLUGINS=\"$(libdir)/icu\" "