From ab9702146f16cd45c8a37c7ad0a13ddfffb57114 Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Mon, 15 Oct 2007 12:15:26 +0000 Subject: INTEGRATION: CWS sb71 (1.13.18); FILE MERGED 2007/08/13 11:54:16 sb 1.13.18.3: #i77184# Dropped libxml2wrapper again (do not use /DELAYLOAD for libxml2---to much trouble). 2007/07/23 13:44:30 sb 1.13.18.2: #i77184# Introduced libxml2wrapper. 2007/06/14 14:53:07 sb 1.13.18.1: #i75466# Adapted to new APP|SHLnRPATH; ensure that external libs are available to components in uno exe. --- cpputools/source/unoexe/makefile.mk | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/cpputools/source/unoexe/makefile.mk b/cpputools/source/unoexe/makefile.mk index d5b6b8047e77..77362371d161 100644 --- a/cpputools/source/unoexe/makefile.mk +++ b/cpputools/source/unoexe/makefile.mk @@ -4,9 +4,9 @@ # # $RCSfile: makefile.mk,v $ # -# $Revision: 1.13 $ +# $Revision: 1.14 $ # -# last change: $Author: vg $ $Date: 2006-05-24 14:30:40 $ +# last change: $Author: vg $ $Date: 2007-10-15 13:15:26 $ # # The Contents of this file are made available subject to # the terms of GNU Lesser General Public License Version 2.1. @@ -39,12 +39,6 @@ TARGET=uno LIBTARGET=NO ENABLE_EXCEPTIONS=TRUE -.IF "$(OS)" == "LINUX" -LINKFLAGSRUNPATH = -Wl,-rpath,\''$$ORIGIN/../lib:$$ORIGIN'\' -.ELIF "$(OS)" == "SOLARIS" -LINKFLAGSRUNPATH = -R\''$$ORIGIN/../lib:$$ORIGIN'\' -.ENDIF - # --- Settings ----------------------------------------------------- .INCLUDE : settings.mk @@ -84,15 +78,22 @@ DEPOBJFILES=$(OBJ)$/unoexe.obj APP1TARGET=$(TARGET) APP1OBJS=$(DEPOBJFILES) +APP1RPATH=UREBIN -# Include all four UNO runtime libraries, so that C++ UNO components running in -# the uno executable have a defined environment (stlport is already included via -# APP1STDLIB): +# Include all relevant (see ure/source/README) dynamic libraries, so that C++ +# UNO components running in the uno executable have a defined environment +# (stlport, unxlngi6 libstdc++.so.6, and wntmsci10 uwinapi.dll are already +# included via APP1STDLIB, unxlngi6 libgcc_s.so.1 and wntmsci10 msvcr71.dll and +# msvcp71.dll are magic---TODO): APP1STDLIBS= \ $(SALLIB) \ $(SALHELPERLIB) \ $(CPPULIB) \ - $(CPPUHELPERLIB) + $(CPPUHELPERLIB)\ + $(LIBXML2LIB) +.IF "$(OS)" == "WNT" +APP1STDLIBS += $(UNICOWSLIB) +.ENDIF .INCLUDE : target.mk -- cgit