view libgui/link-deps.mk @ 20166:196871335aa8

Allow call with empty argument list in strcat related functions (bug #44981) * libinterp/corefcn/strfns.cc (strvcat): return an empty string for an empty argument list. Simply dropping the input checking, will return an empty string. This makes it more consistent with cat(), vertcat, and horzcat() functions, which return [] for this cases. It makes it easier to support "strcat (cell{:})" when cell is empty. * scripts/strings/cstrcat.m, scripts/strings/strcat.m: same as above. But because [cellstr{:}] when cellstr is empty returns double ([]), we specifically return "".
author Carnë Draug <carandraug@octave.org>
date Fri, 01 May 2015 16:21:39 +0100
parents 39844e6ccf13
children
line wrap: on
line source

include $(top_srcdir)/libinterp/link-deps.mk

if AMCOND_ENABLE_DYNAMIC_LINKING
  LIBOCTGUI_LINK_DEPS =
else
  LIBOCTGUI_LINK_DEPS = $(DLDFCN_LIBS)
endif

LIBOCTGUI_LINK_DEPS += \
  $(QT_LIBS) \
  $(OPENGL_LIBS)

LIBOCTGUI_LINK_OPTS = \
  $(QT_LDFLAGS)

if AMCOND_LINK_ALL_DEPS
  LIBOCTGUI_LINK_DEPS += $(LIBOCTINTERP_LINK_DEPS)
  LIBOCTGUI_LINK_OPTS += $(LIBOCTINTERP_LINK_OPTS)

  OCTAVE_GUI_LINK_DEPS = $(LIBOCTGUI_LINK_DEPS)
  OCTAVE_GUI_LINK_OPTS = $(LIBOCTGUI_LINK_OPTS)
endif