summaryrefslogtreecommitdiff
path: root/package/watchdog
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-07-12 16:28:06 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-07-12 16:28:06 +0200
commit1a70ec52e7a97c6255421bee8ec0341bec623085 (patch)
tree5b6c70a94e6da7add492b199c0069bf88f86c489 /package/watchdog
parent19901e8b05b815267144e6c7582ed9b950f56b23 (diff)
fix compile
Diffstat (limited to 'package/watchdog')
-rw-r--r--package/watchdog/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/watchdog/Makefile b/package/watchdog/Makefile
index ab8f5c570..47d812db1 100644
--- a/package/watchdog/Makefile
+++ b/package/watchdog/Makefile
@@ -15,6 +15,9 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,WATCHDOG,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+TARGET_CFLAGS+= -I$(STAGING_DIR)/usr/include/tirpc
+TARGET_LDFLAGS+= -ltirpc
+
post-install:
${INSTALL_DIR} ${IDIR_WATCHDOG}/sbin ${IDIR_WATCHDOG}/etc/
${INSTALL_DATA} ./files/watchdog.conf ${IDIR_WATCHDOG}/etc/