[GRASS-dev] [GRASS GIS] #3718: wingrass: include also unversioned libraries

GRASS GIS trac at osgeo.org
Thu Jan 3 23:43:58 PST 2019


#3718: wingrass: include also unversioned libraries
--------------------------+-----------------------
  Reporter:  martinl      |      Owner:  martinl
      Type:  task         |     Status:  assigned
  Priority:  normal       |  Milestone:  7.6.0
 Component:  Packaging    |    Version:  svn-trunk
Resolution:               |   Keywords:  wingrass
       CPU:  Unspecified  |   Platform:  MSWindows
--------------------------+-----------------------

Comment (by hellik):

 Replying to [comment:12 martinl]:
 > Replying to [comment:8 hellik]:
 > > see mails before and after.
 >
 > my comment
 >
 > {{{
 > > Should the ctypes wrappers be changed to use the versioned library
 > > name?
 >
 > Probably yes, just to avoid having copy of unversioned library names.
 > }}}
 >
 > sounds nice from GRASS POV. On the other hand would be nice not to break
 QGIS GRASS plugin on each GRASS point version ;-)

 it's more about


 {{{
 However: on Windows, the name used to create the DLL (e.g.
 libgrass_gis.7.0.svn.dll) is stored in the DLL, and this is preserved
 when the file is copied. When linking against a DLL, the name which is
 stored in the target (library or executable) is the name stored in the
 library, not the name of the file. So linking with -lgrass_gis links
 against libgrass_gis.dll, but the resulting executable or library
 depends upon libgrass_gis.7.0.svn.dll.
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3718#comment:13>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list