Ticket #116: pylib.patch

File pylib.patch, 1.5 KB (added by Mark Hammond, 17 years ago)

patch as described

  • xapian-maintainer-tools/win32msvc/config.mak

     
    44# www.lemurconsulting.com
    55#
    66# Modify this file to set any extra Xapian build flags
     7#
     8# HINT: Instead of modifying this file, consider passing new values
     9# on the command-line.  For example:
     10#  % nmake -f win32.mak PERL_DIR=c:\perl\bin SWIG=c:\something\swig.exe
     11# Would override the variables without requiring you change anything...
    712
    813!IF "$(OS)" == "Windows_NT"
    914NULL=
     
    4348#A 'PC' directory is also included for people building from a source tree.
    4449PYTHON_INCLUDE_2=$(PYTHON_DIR)\PC
    4550
    46  # PYTHON_LIB : Set this to the python library including path for linking with
    47 # Currently, a DEBUG xapian implies a DEBUG Python - in the future, it
    48 # might be desirable to mix-and-match, but for now, we stay consistent.
    49 !if "$(DEBUG)"=="1"
    50 PYTHON_LIB=$(PYTHON_DIR)\PCBuild\python25_d.lib
    51 !else
    52 PYTHON_LIB=$(PYTHON_DIR)\PCBuild\python25.lib
    53 !endif
     51# PYTHON_LIB_DIR : Set this to the directory containing python*.lib
     52# It should only be necessary to change this for source builds of Python,
     53# where the files are in 'PCBuild' rather than 'libs' (this magically works
     54# as Python uses a #pragma to reference the library base name - which
     55# includes any version numbers and debug suffixes ('_d'))
     56PYTHON_LIB_DIR=$(PYTHON_DIR)\libs
    5457# -------------end Python settings-------------
    5558
    5659