[GRASS-dev] compilation success
William Kyngesburye
woklist at kyngchaos.com
Thu Oct 9 09:48:10 EDT 2008
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.
More information about the grass-dev
mailing list