libftdi: fix build for x86_64 target
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@40792 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
c5dc15b266
commit
f5506ed32d
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2011 OpenWrt.org
|
||||
# Copyright (C) 2011-2014 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libftdi
|
||||
PKG_VERSION:=0.19
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.intra2net.com/en/developer/libftdi/download/
|
||||
|
11
libs/libftdi/patches/100-fix-x86_64-build.patch
Normal file
11
libs/libftdi/patches/100-fix-x86_64-build.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -43,7 +43,7 @@ IF(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
SET(LIB_SUFFIX "")
|
||||
SET(PACK_ARCH "")
|
||||
ELSE(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
- SET(LIB_SUFFIX 64)
|
||||
+ SET(LIB_SUFFIX "")
|
||||
SET(PACK_ARCH .x86_64)
|
||||
endif(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
|
Loading…
x
Reference in New Issue
Block a user