Ticket #12898: patch-sim-extra.diff
File patch-sim-extra.diff, 974 bytes (added by platon@…, 17 years ago) |
---|
-
../support/make/sim.extra
old new 18 18 HASHOBJFILE = $(BUILDDIR)/c-support.o 19 19 PYFILE = $(TOSDIR)/lib/tossim/tossim_wrap.cxx 20 20 PYOBJFILE = $(BUILDDIR)/pytossim.o 21 PYDIR = /usr/include/python$(PYTHON_VERSION)21 PYDIR =prefix/include/python$(PYTHON_VERSION) 22 22 SIMDIR =$(TOSDIR)/lib/tossim 23 23 XML = app.xml 24 24 DUMPTYPES = -fnesc-dump=components -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags … … 35 35 PLATFORM_BUILD_FLAGS= -fpic -W1,--enabled-auto-image-base 36 36 PLATFORM_LIB_FLAGS =-shared -L/usr/lib/python$(PYTHON_VERSION)/config -L/$(PYDIR)/config -lstdc++ -lpython$(PYTHON_VERSION) 37 37 else 38 ifeq ( $(findstring darwin, $(OSTYPE)), darwin)38 ifeq (,$(findstring darwin, $(OSTYPE))) 39 39 PLATFORM_FLAGS=-fPIC 40 40 PLATFORM_CC_FLAGS=-bundle 41 41 SHARED_OBJECT=_TOSSIMmodule.so