Ticket #116: pylib.2.patch
File pylib.2.patch, 2.4 KB (added by , 17 years ago) |
---|
-
xapian-maintainer-tools/win32msvc/win32_bindings_python.mak
30 30 "$(OUTLIBDIR)\libqueryparser.lib" \ 31 31 "$(OUTLIBDIR)\libremote.lib" \ 32 32 "$(OUTLIBDIR)\libnet.lib" \ 33 "$(PYTHON_LIB)"33 $(NULL) 34 34 35 35 LIB_XAPIAN_OBJS= ".\xapian_wrap.obj" 36 36 … … 71 71 CPP_OBJS=$(XAPIAN_CORE_REL_PYTHON)\win32\$(XAPIAN_DEBUG_OR_RELEASE)\ 72 72 CPP_SBRS=. 73 73 74 ALL_LINK32_FLAGS=$(LINK32_FLAGS) $(XAPIAN_DEPENDENCIES) 74 ALL_LINK32_FLAGS=$(LINK32_FLAGS) $(XAPIAN_DEPENDENCIES) "/LIBPATH:$(PYTHON_LIB_DIR)" 75 75 76 76 modern/xapian_wrap.cc modern/xapian_wrap.h modern/xapian.py: ../xapian.i util.i extra.i except.i 77 77 -erase /Q modern -
xapian-maintainer-tools/win32msvc/config.mak
4 4 # www.lemurconsulting.com 5 5 # 6 6 # 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... 7 12 8 13 !IF "$(OS)" == "Windows_NT" 9 14 NULL= … … 43 48 #A 'PC' directory is also included for people building from a source tree. 44 49 PYTHON_INCLUDE_2=$(PYTHON_DIR)\PC 45 50 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')) 56 PYTHON_LIB_DIR=$(PYTHON_DIR)\libs 54 57 # -------------end Python settings------------- 55 58 56 59