octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #59173] "mkoctfile -p" returns wrong LDFLAGS o


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #59173] "mkoctfile -p" returns wrong LDFLAGS on Windows
Date: Tue, 29 Sep 2020 09:53:48 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #17, bug #59173 (project octave):

Looking at the logs, --export-all-symbols appears in the verbose output of the
mkoctfile commands.

But the control package Makefile has this:


LFLAGS := $(shell $(MKOCTFILE) -p LFLAGS) $(LAPACK_LIBS) $(BLAS_LIBS)
$(FLIBS)

...

# slicot functions
__control_slicot_functions__.oct: __control_slicot_functions__.cc common.cc
slicotlibrary.a
        LFLAGS="$(LFLAGS)" \
    $(MKOCTFILE) $(PKG_CXXFLAGS) __control_slicot_functions__.cc common.cc
slicotlibrary.a


This is probably not the best way to link with these extra libraries, so maybe
a better solution can be found, but in the meantime, we can add a patch in
mxe-octave for the control package to use LDFLAGS instead of LFLAGS for this
purpose.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59173>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]