#17682: Generic filename extension for shared libraries
-------------------------------------+-------------------------------------
       Reporter:  gouezel            |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.5
      Component:  porting: Cygwin    |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Sebastien Gouezel  |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/gouezel/dll_extension            |  db7df5c13b7c57272f0cc262c89d80a632c878ef
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jakobkroeker):

 Ahem, I do not completely understand what the patch does (i'm new to
 sage/python);
 Question: what are the consequences, e.g. for {{{init_libsingular()}}}
 in {{{src/sage/libs/singular/singular.pyx}}}?

 *snip*:
 {{{
 ...
     for extension in ["so", "dylib", "dll"]:
         lib = os.environ['SAGE_LOCAL']+"/lib/libsingular."+extension
         if os.path.exists(lib):
             handle = dlopen(lib, RTLD_GLOBAL|RTLD_LAZY)
             break
 ...
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/17682#comment:8>
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