libosmocore/osmo-talloc2.diff

29 lines
1003 B
Diff

From 2741248caf93604321ddb0835c9467e73de136b0 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Sun, 17 Feb 2013 21:13:29 +0100
Subject: [PATCH] build: always install our talloc.h
Next-level packages like libosmo-abis strictly depend on
<osmocom/core/talloc.h>, therefore always ship this file. When
distributions are using --disable-talloc to use a system talloc
instead of the shipped copy, they will simply have to overwrite
osmocom/core/talloc.h with the single line #include <talloc.h>.
---
include/Makefile.am | 2 --
1 file changed, 2 deletions(-)
Index: libosmocore/include/Makefile.am
===================================================================
--- libosmocore.orig/include/Makefile.am
+++ libosmocore/include/Makefile.am
@@ -76,9 +76,7 @@ if ENABLE_PLUGIN
nobase_include_HEADERS += osmocom/core/plugin.h
endif
-if ENABLE_TALLOC
nobase_include_HEADERS += osmocom/core/talloc.h
-endif
if ENABLE_MSGFILE
nobase_include_HEADERS += osmocom/core/msgfile.h