On Oct 9, 2008, at 4:27 AM, Glynn Clements wrote:
To be honest, I'm not particularly confident of the OSX-specific rule
for building the module:
ifeq ($(findstring darwin,$(ARCH)),darwin)
$(CXX) -o $@ $(LDFLAGS) $^ $(EXTRA_LIBS)
else
I would expect that command to try to build an executable.
This works because there is also a conditional on setting EXTRA_LIBS,
so that it will build a module (-bundle), which is a little different
than a library on OSX. We don't want SHLIB_LD because it has the -
dynamiclib flag hardwired into it.
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
The equator is so long, it could encircle the earth completely once.
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev