mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 15:05:53 +00:00
ICU-630 rpath control
X-SVN-Rev: 2723
This commit is contained in:
parent
8cc7ad4f93
commit
a63e51a9bb
2 changed files with 11 additions and 3 deletions
|
@ -76,7 +76,11 @@ DEFS = @DEFS@
|
|||
CPPFLAGS = @CPPFLAGS@ $(LIBCPPFLAGS) -I. -I$(srcdir) -DICU_DATA_DIR=\"$(pkgdatadir)/$(VERSION)/\" -DUDATA_SO_SUFFIX=\".$(SO)\" -DU_COMMON_LIBNAME=\"$(FINAL_SO_TARGET)\"
|
||||
CFLAGS = @CFLAGS@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
ENABLE_RPATH = @ENABLE_RPATH@
|
||||
ifeq ($(ENABLE_RPATH),YES)
|
||||
RPATHLDFLAGS = $(LD_RPATH)$(LD_RPATH_PRE)$(libdir)
|
||||
endif
|
||||
LDFLAGS = @LDFLAGS@ $(RPATHLDFLAGS)
|
||||
LIBS = @LIBS@
|
||||
|
||||
# Data packaging options are set at configure time with --with-data-packaging.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#******************************************************************************
|
||||
# Copyright (C) 1999, International Business Machines
|
||||
# Corporation and others. All Rights Reserved.
|
||||
# $Revision: 1.12 $
|
||||
# $Revision: 1.13 $
|
||||
#******************************************************************************
|
||||
# This Makefile is designed to be included into projects which make use
|
||||
# of the ICU.
|
||||
|
@ -14,7 +14,11 @@ CPPFLAGS = @CPPFLAGS@ $(LIBCPPFLAGS) -I$(prefix)/include
|
|||
CXXFLAGS = @CXXFLAGS@
|
||||
FFLAGS = @FFLAGS@
|
||||
DEFS = @DEFS@
|
||||
LDFLAGS = @LDFLAGS@ -L$(prefix)/lib $(LD_RPATH)$(LD_RPATH_PRE)$(libdir)
|
||||
ENABLE_RPATH = @ENABLE_RPATH@
|
||||
ifeq ($(ENABLE_RPATH),YES)
|
||||
RPATHLDFLAGS = $(LD_RPATH)$(LD_RPATH_PRE)$(libdir)
|
||||
endif
|
||||
LDFLAGS = @LDFLAGS@ $(RPATHLDFLAGS)
|
||||
LIBS = @LIBS@
|
||||
ICUPREFIX = icu
|
||||
ICULIBS = $(LIBS) -l$(ICUPREFIX)uc -l$(ICUPREFIX)i18n
|
||||
|
|
Loading…
Add table
Reference in a new issue