firebird: use GNU find for API headers on Windows
The native Windows find.exe may be selected by GNU Make for $(shell find ...) during the Firebird build, causing NEW_INCLUDES_SRC to be empty and firebird/Interface.h to not be generated. Use /usr/bin/find explicitly for the Windows build. Change-Id: Iab95bdfad2e7e2b64046da61edd55c1b9c7291cb
This commit is contained in:
@@ -57,6 +57,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,firebird,\
|
||||
|
||||
ifeq ($(OS),WNT)
|
||||
$(eval $(call gb_UnpackedTarball_add_patches,firebird,\
|
||||
external/firebird/firebird-windows-gnu-find.patch.1 \
|
||||
external/firebird/firebird-cygwin-msvc.patch \
|
||||
external/firebird/firebird-cygwin-msvc-warnings.patch \
|
||||
))
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
--- firebird.org/builds/posix/Makefile.in
|
||||
+++ firebird/builds/posix/Makefile.in
|
||||
@@ -619,6 +619,6 @@
|
||||
INCLUDE_DEST= $(FB_BUILD)/include
|
||||
|
||||
-NEW_INCLUDES_SRC = $(shell find $(SRC_ROOT)/include/firebird -type f)
|
||||
+NEW_INCLUDES_SRC = $(shell /usr/bin/find $(SRC_ROOT)/include/firebird -type f)
|
||||
NEW_INCLUDES_DEST = $(patsubst $(SRC_ROOT)/include/firebird/%, $(INCLUDE_DEST)/firebird/%, $(NEW_INCLUDES_SRC))
|
||||
|
||||
include_generic: $(INCLUDE_DEST)/ib_util.h \
|
||||
Reference in New Issue
Block a user