#19640: Do not drop LDFLAGS
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.10
      Component:  packages:          |   Resolution:
  standard                           |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:  Volker Braun       |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  0214c00dc09c2912caa23181eecc8224a80dde49
  u/vbraun/do_not_drop_ldflags       |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by fbissey):

 And I was going to forget that little piece of underhanded linker
 definition in `Singular/Makefile.in`
 {{{
 LIBSINGULAR_LD = $(CXX)

 # correct suffix for dynamic linking
 ifeq ($(SINGUNAME),ix86Mac-darwin)
 SO_SUFFIX        = dylib
 MODULE_SUFFIX    = bundle
 LIBSINGULAR_FLAGS = -single_module
 LIBSINGULAR_LD = $(LD)
 endif

 ifeq ($(SINGUNAME),x86_64Mac-darwin)
 SO_SUFFIX        = dylib
 MODULE_SUFFIX    = bundle
 LIBSINGULAR_FLAGS = -single_module
 LIBSINGULAR_LD = $(LD)
 endif
 }}}
 and
 {{{
 libsingular: mod2.h Makefile version.h $(WIN_LIBS) scanner.cc  ${OBJS} \
          iparith.o libparse.cc claptmpl.o mpsr_Tok.o $(DL_LIBS)
         $(LIBSINGULAR_LD) ${SLDFLAGS} ${LIBSINGULAR_FLAGS} -o
 libsingular.${SO_SUFFIX} \
         iparith.o mpsr_Tok.o claptmpl.o \
         ${OBJS} -lkernel -L../kernel -L../factory -L../libfac -L${libdir}
 ${LIBSINGULAR_LIBS}
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/19640#comment:12>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to