packages/net/freeswitch/patches/106-libs-xmlrpc-c-lib-expat-gennmtab-Makefile.patch
mazilo fb2956f426 updated to FS git HEAD 5e3a6fc5e6f40be5d68c8b3cfbbfa3227fe06c2f
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 14:25:52 +00:00

17 lines
428 B
Diff

--- a/libs/xmlrpc-c/lib/expat/gennmtab/Makefile
+++ b/libs/xmlrpc-c/lib/expat/gennmtab/Makefile
@@ -1,3 +1,5 @@
+TOPDIR=$(shell (cd $(SRCDIR)/../../../../..; pwd))
+
ifeq ($(SRCDIR),)
updir = $(shell echo $(dir $(1)) | sed 's/.$$//')
EXPATDIR := $(call updir,$(CURDIR))
@@ -7,6 +9,7 @@ ifeq ($(SRCDIR),)
endif
SUBDIR := lib/expat/gennmtab
+include $(TOPDIR)/rules.mk
include $(BLDDIR)/config.mk
LDFLAGS = $(LADD)