[packages] tesseract: add workaround for byte-order mark in source file, backfire gcc chokes on it
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28791 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f02ac86a70
commit
7a555274cc
@ -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/
|
||||
|
Loading…
x
Reference in New Issue
Block a user