Changed LIBOBJS_HOST to LIBRARY_LD_OBJS.

This commit is contained in:
Janet B. Anderson
2001-06-07 16:15:16 +00:00
parent d8ca8c6d72
commit cb0d92aa82
2 changed files with 5 additions and 5 deletions

View File

@@ -186,11 +186,11 @@ DLL_DEF_FLAG = $(subst /,\\,$(wildcard ../$(addsuffix .def,$(LIBRARY))))
#
# If we compile a .c, .cc into an $(OBJ),
# we test if this object is part of the
# library objects LIBOBJS_HOST.
# library objects LIBRARY_LD_OBJS.
# If so, we define _WINDLL so that
# e.g. include/shareLib.h works correctly.
#
OPT_CFLAGS_YES += $(subst $@, /_WINDLL, $(findstring $@,$(LIBOBJS_HOST)))
OPT_CFLAGS_YES += $(subst $@, /_WINDLL, $(findstring $@,$(LIBRARY_LD_OBJS)))
#
# A WIN32 dll has three parts:

View File

@@ -201,11 +201,11 @@ DLL_DEF_FLAG = $(addprefix /def:,$(wildcard ../$(addsuffix .def,$(LIBRARY))))
#
# If we compile a .c, .cc into an $(OBJ),
# we test if this object is part of the
# library objects LIBOBJS_HOST.
# library objects LIBRARY_LD_OBJS.
# If so, we define _WINDLL so that
# e.g. include/shareLib.h works correctly.
#
HOST_OPT_FLAGS += $(subst $@, /_WINDLL, $(findstring $@,$(LIBOBJS_HOST)))
HOST_OPT_FLAGS += $(subst $@, /_WINDLL, $(findstring $@,$(LIBRARY_LD_OBJS)))
#
# A WIN32 dll has three parts:
@@ -220,7 +220,7 @@ LDCMD = $(CCC) /Fo $@ $^
# adjust names of libraries to build
#
# But: if there are no objects LIBOBJS to include
# But: if there are no objects LIBRARY_LD_OBJS to include
# in this library (may be for e.g. base/src/libCompat
# on some archs), don't define (and build) any library!
SHRLIB_SUFFIX=.dll