Get clucene to build on Windows.

Change-Id: I5c8460db80f41569714f743265ee57736ce02211
This commit is contained in:
Kohei Yoshida
2013-05-09 14:21:09 -04:00
parent c3bd7a216f
commit 6575dc3bb0

View File

@@ -24,7 +24,6 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,clucene,0))
# http://sourceforge.net/mailarchive/message.php?msg_id=29143260 # http://sourceforge.net/mailarchive/message.php?msg_id=29143260
$(eval $(call gb_UnpackedTarball_add_patches,clucene,\ $(eval $(call gb_UnpackedTarball_add_patches,clucene,\
clucene/patches/clucene-debug.patch \ clucene/patches/clucene-debug.patch \
clucene/patches/clucene-libcpp.patch \
clucene/patches/clucene-multimap-put.patch \ clucene/patches/clucene-multimap-put.patch \
clucene/patches/clucene-narrowing-conversions.patch \ clucene/patches/clucene-narrowing-conversions.patch \
clucene/patches/clucene-nullptr.patch \ clucene/patches/clucene-nullptr.patch \
@@ -32,6 +31,12 @@ $(eval $(call gb_UnpackedTarball_add_patches,clucene,\
clucene/patches/clucene-aix.patch \ clucene/patches/clucene-aix.patch \
)) ))
ifneq ($(OS),WNT)
$(eval $(call gb_UnpackedTarball_add_patches,clucene,\
clucene/patches/clucene-libcpp.patch \
))
endif
ifeq ($(OS),WNT) ifeq ($(OS),WNT)
$(eval $(call gb_UnpackedTarball_add_file,clucene,src/shared/CLucene/_clucene-config.h,clucene/configs/_clucene-config-MSVC.h)) $(eval $(call gb_UnpackedTarball_add_file,clucene,src/shared/CLucene/_clucene-config.h,clucene/configs/_clucene-config-MSVC.h))
ifeq ($(COM),MSC) ifeq ($(COM),MSC)