e974342660
Tested in a mulk muild, webkit and openoffice are happy with it. ok robert@
35 lines
1.5 KiB
Plaintext
35 lines
1.5 KiB
Plaintext
$OpenBSD: patch-source_common_Makefile_in,v 1.3 2008/10/31 09:56:15 landry Exp $
|
|
--- source/common/Makefile.in.orig Mon Sep 22 21:03:28 2008
|
|
+++ source/common/Makefile.in Wed Oct 29 11:51:13 2008
|
|
@@ -62,7 +62,7 @@ CPPFLAGS += -I$(top_builddir)/common
|
|
endif
|
|
CPPFLAGS += -I$(srcdir) -I$(top_srcdir)/i18n $(LIBCPPFLAGS)
|
|
DEFS += -DU_COMMON_IMPLEMENTATION
|
|
-LDFLAGS += $(LDFLAGSICUUC)
|
|
+LDFLAGS += -fPIC $(LDFLAGSICUUC)
|
|
|
|
# $(LIBICUDT) is either stub data or the real DLL common data.
|
|
LIBS = $(LIBICUDT) $(DEFAULT_LIBS)
|
|
@@ -126,21 +126,9 @@ ifneq ($(ENABLE_STATIC),)
|
|
endif
|
|
ifneq ($(ENABLE_SHARED),)
|
|
$(INSTALL-L) $(FINAL_SO_TARGET) $(DESTDIR)$(libdir)
|
|
-ifneq ($(FINAL_SO_TARGET),$(SO_TARGET))
|
|
- cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(SO_TARGET))
|
|
-ifneq ($(FINAL_SO_TARGET),$(MIDDLE_SO_TARGET))
|
|
- cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(MIDDLE_SO_TARGET))
|
|
endif
|
|
-endif
|
|
ifneq ($(IMPORT_LIB_EXT),)
|
|
$(INSTALL-L) $(FINAL_IMPORT_LIB) $(DESTDIR)$(libdir)
|
|
-ifneq ($(IMPORT_LIB),$(FINAL_IMPORT_LIB))
|
|
- cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(IMPORT_LIB))
|
|
-endif
|
|
-ifneq ($(MIDDLE_IMPORT_LIB),$(FINAL_IMPORT_LIB))
|
|
- cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(MIDDLE_IMPORT_LIB))
|
|
-endif
|
|
-endif
|
|
endif
|
|
|
|
$(SVC_HOOK_INC):
|