packages/net/freeswitch/patches/106-libs-xmlrpc-c-lib-expat-gennmtab-Makefile.patch

17 lines
428 B
Diff
Raw Normal View History

--- 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)