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  
    1818HASHOBJFILE = $(BUILDDIR)/c-support.o
    1919PYFILE     = $(TOSDIR)/lib/tossim/tossim_wrap.cxx
    2020PYOBJFILE  = $(BUILDDIR)/pytossim.o
    21 PYDIR      =/usr/include/python$(PYTHON_VERSION)
     21PYDIR      =prefix/include/python$(PYTHON_VERSION)
    2222SIMDIR     =$(TOSDIR)/lib/tossim
    2323XML        = app.xml
    2424DUMPTYPES = -fnesc-dump=components -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags
     
    3535  PLATFORM_BUILD_FLAGS= -fpic -W1,--enabled-auto-image-base
    3636  PLATFORM_LIB_FLAGS =-shared -L/usr/lib/python$(PYTHON_VERSION)/config -L/$(PYDIR)/config -lstdc++ -lpython$(PYTHON_VERSION)
    3737else
    38 ifeq ($(findstring darwin, $(OSTYPE)), darwin)
     38ifeq (,$(findstring darwin, $(OSTYPE)))
    3939  PLATFORM_FLAGS=-fPIC
    4040  PLATFORM_CC_FLAGS=-bundle
    4141  SHARED_OBJECT=_TOSSIMmodule.so