[GRASS-dev] Re: [GRASS GIS] #58: wx version of v.digit relies upon
non-portable hacks
GRASS GIS
trac at osgeo.org
Fri Jan 16 17:21:39 EST 2009
#58: wx version of v.digit relies upon non-portable hacks
--------------------------+-------------------------------------------------
Reporter: marisn | Owner: martinl
Type: defect | Status: assigned
Priority: critical | Milestone: 6.4.0
Component: default | Version: 6.3.0 RCs
Resolution: | Keywords: wxGUI, v.digit
Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by kyngchaos):
Those are definitely not needed for OSX, so they should be conditionally
compiled, even if this is a temporary solution. The current method of
"-bundle -undefined dynamic_lookup" for OSX is the proper way to handle
python extensions in general, which coincidentally takes care of the GDI
problem.
So, a wildcard couldn't be used for SOURCES. Something like:
{{{
SOURCES := cats.cpp digit.cpp driver_draw.cpp driver.cpp \
line.cpp message.cpp select.cpp undo.cpp vertex.cpp \
$(LIB_NAME)_wrap.cpp
ifneq ($(findstring darwin,$(ARCH)),darwin)
SOURCES = pseudodc.cpp $(SOURCES)
endif
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/58#comment:12>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list