1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix dsvpn compilation

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-08-03 22:55:14 +02:00
parent a64e54b756
commit 1d7bee7948
2 changed files with 10 additions and 3 deletions

View file

@ -14,8 +14,6 @@ PKG_NAME:=dsvpn
PKG_VERSION:=0.1.0-$(PKG_SOURCE_VERSION)
PKG_RELEASE:=1
PKG_BUILD_PARALLEL:=0
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
@ -42,4 +40,3 @@ define Package/$(PKG_NAME)/install
endef
$(eval $(call BuildPackage,$(PKG_NAME)))

View file

@ -0,0 +1,10 @@
--- a/Makefile 2019-08-03 22:52:54.541484359 +0200
+++ b/Makefile 2019-08-03 22:53:00.901364600 +0200
@@ -5,7 +5,6 @@
dsvpn: Makefile src/vpn.c src/charm.c src/os.c include/charm.h include/vpn.h include/os.h
$(CC) $(CFLAGS) -Iinclude -o $@ src/vpn.c src/charm.c src/os.c
- strip $@
install: dsvpn
install -m 0755 dsvpn $(PREFIX)/sbin