ICU-4001 Allow --disable-shared to work a little better.

X-SVN-Rev: 16352
This commit is contained in:
George Rhoten 2004-09-22 05:01:01 +00:00
parent ed1e9cd306
commit b98552d53c

View File

@ -220,3 +220,9 @@ INVOKE = $(LDLIBRARYPATH_ENVVAR)=$(LIBDIR):$(top_builddir)/stubdata:$(top_buildd
# Platform-specific setup
include @platform_make_fragment@
# When shared libraries are disabled and static libraries are enabled,
# the C++ compiler must be used to link in the libraries for the tools.
ifneq ($(ENABLE_SHARED),YES)
LINK.c = $(LINK.cc)
endif