projects
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f02ac86
)
[packages] tesseract: add workaround for byte-order mark in source file, backfire...
author
jow
<jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 6 Nov 2011 23:35:14 +0000
(23:35 +0000)
committer
jow
<jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 6 Nov 2011 23:35:14 +0000
(23:35 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28791
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
utils/tesseract/Makefile
patch
|
blob
|
history
diff --git
a/utils/tesseract/Makefile
b/utils/tesseract/Makefile
index
bd99117
..
b174433
100644
(file)
--- a/
utils/tesseract/Makefile
+++ b/
utils/tesseract/Makefile
@@
-33,6
+33,11
@@
CONFIGURE_ARGS += \
TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
+define Build/Prepare
+ $(call Build/Prepare/Default)
+ $(SED) '1s/^\xEF\xBB\xBF//' $(PKG_BUILD_DIR)/ccutil/strngs.h
+endef
+
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/tesseract $(1)/usr/include/