#61: vdigit makefile uses hardwired compile and link flags
------------------------+---------------------------------------------------
Reporter: kyngchaos | Owner: [email protected]
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: Python | Version: 6.3.0 RCs
Resolution: | Keywords:
------------------------+---------------------------------------------------
Comment (by glynn):
Replying to [comment:6 kyngchaos]:
> Just taking a look at the latest incarnation of the makefile - SHLIB_LD
can't be used for linking the module.so. This contains the dynamic/shared
lib flag, which is not correct for a python extension on OSX, and contains
the version and install_name flags meant for a GRASS library and are not
valid for the -bundle flag needed here.
>
> Would it be possible to configure a PYTHON_LD for use in this case?
Possible? Yes. Straightforward? No.
Look at the SC_CONFIG_CFLAGS macro in aclocal.m4, which defines SHLIB_LD.
You would need to add a corresponding PYTHON_LD macro for each platform.
We can't just use "$(CC) $(PYTHONLDFLAGS)", as "python-config --ldflags"
doesn't include the -shared flag on Linux (where it is definitely
required).
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/61#comment:7>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev