1
0
forked from pool/libosmo-abis
libosmo-abis/osmo-talloc.diff

37 lines
1.5 KiB
Diff
Raw Normal View History

From 6eda430372edbf4dcebb9181ae7ef9f4daff544e Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Sun, 17 Feb 2013 21:18:44 +0100
Subject: [PATCH] build: link to talloc
The source files use talloc, so link to talloc.
---
configure.ac | 1 +
src/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
Index: libosmo-abis/configure.ac
===================================================================
--- libosmo-abis.orig/configure.ac
+++ libosmo-abis/configure.ac
@@ -33,6 +33,7 @@ AM_CONFIG_HEADER(config.h)
PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.3.0)
PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.3.0)
PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.3.10)
+PKG_CHECK_MODULES([TALLOC], [talloc])
PKG_CHECK_MODULES([ORTP], [ortp >= 0.13.1],
[
PKG_CHECK_MODULES([ORTP_VERSION], [ortp >= 0.21],
Index: libosmo-abis/src/Makefile.am
===================================================================
--- libosmo-abis.orig/src/Makefile.am
+++ libosmo-abis/src/Makefile.am
@@ -6,7 +6,7 @@ TRAU_LIBVERSION=0:0:0
AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)
AM_CFLAGS= -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOVTY_CFLAGS) $(COVERAGE_CFLAGS)
AM_LDFLAGS = $(COVERAGE_LDFLAGS)
-COMMONLIBS = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(LIBOSMOVTY_LIBS)
+COMMONLIBS = $(TALLOC_LIBS) $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(LIBOSMOVTY_LIBS)
lib_LTLIBRARIES = libosmoabis.la libosmotrau.la