lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit 6afd608b418c797e509df6bb1f68b38ab6f147b3
parent 1c4018eccd33e7b45270c3f238e4c3408e493539
Author: Ted Hess <thess@kitschensync.net>
Date:   Wed, 30 Dec 2015 13:48:53 -0500

Merge pull request #2112 from thess/libev-work

libev: Fix compatibility with libevent2 includes
Diffstat:
Mlibs/libev/Makefile | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/libs/libev/Makefile b/libs/libev/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libev PKG_VERSION:=4.20 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://dist.schmorp.de/libev/Attic/ @@ -44,7 +44,9 @@ CONFIGURE_ARGS += \ define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include - $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/event.h $(1)/usr/include/ev_event_compat.h + $(CP) $(PKG_INSTALL_DIR)/usr/include/ev.h $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/ev++.h $(1)/usr/include/ $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libev.{a,so*} $(1)/usr/lib/ endef