llc: add libosmogsm dependency
libosmogsm is needed for the follow-up patch [1]. Change-Id: Iee45fb87905ea29df02a48003396bde27e6c550c Related: [1] I588eb576b2703262f4ab9566ec362920d8390cfd Related: OS#5502
This commit is contained in:
parent
3681629a29
commit
1868001ee0
|
@ -32,6 +32,7 @@ PKG_PROG_PKG_CONFIG([0.20])
|
||||||
|
|
||||||
dnl checks for libraries
|
dnl checks for libraries
|
||||||
PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.7.0)
|
PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.7.0)
|
||||||
|
PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.7.0)
|
||||||
|
|
||||||
dnl checks for header files
|
dnl checks for header files
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
|
|
|
@ -11,6 +11,7 @@ BuildRequires: automake >= 1.9
|
||||||
BuildRequires: libtool >= 2
|
BuildRequires: libtool >= 2
|
||||||
BuildRequires: pkgconfig >= 0.20
|
BuildRequires: pkgconfig >= 0.20
|
||||||
BuildRequires: pkgconfig(libosmocore) >= 1.7.0
|
BuildRequires: pkgconfig(libosmocore) >= 1.7.0
|
||||||
|
BuildRequires: pkgconfig(libosmogsm) >= 1.7.0
|
||||||
BuildRequires: pkgconfig(talloc)
|
BuildRequires: pkgconfig(talloc)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
|
@ -6,7 +6,7 @@ includedir=@includedir@
|
||||||
Name: Osmocom [E]GPRS LLC (Logical Link Control) Library
|
Name: Osmocom [E]GPRS LLC (Logical Link Control) Library
|
||||||
Description: C Utility Library
|
Description: C Utility Library
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Requires: libosmocore
|
Requires: libosmocore, libosmogsm
|
||||||
Requires.private: talloc
|
Requires.private: talloc
|
||||||
Libs: -L${libdir} -losmo-gprs-llc
|
Libs: -L${libdir} -losmo-gprs-llc
|
||||||
Cflags: -I${includedir}/
|
Cflags: -I${includedir}/
|
||||||
|
|
|
@ -11,10 +11,12 @@ AM_CPPFLAGS = \
|
||||||
AM_CFLAGS = \
|
AM_CFLAGS = \
|
||||||
-Wall \
|
-Wall \
|
||||||
$(LIBOSMOCORE_CFLAGS) \
|
$(LIBOSMOCORE_CFLAGS) \
|
||||||
|
$(LIBOSMOGSM_CFLAGS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
AM_LDFLAGS = \
|
AM_LDFLAGS = \
|
||||||
$(LIBOSMOCORE_LIBS) \
|
$(LIBOSMOCORE_LIBS) \
|
||||||
|
$(LIBOSMOGSM_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
lib_LTLIBRARIES = \
|
lib_LTLIBRARIES = \
|
||||||
|
@ -36,4 +38,5 @@ libosmo_gprs_llc_la_LDFLAGS = \
|
||||||
|
|
||||||
libosmo_gprs_llc_la_LIBADD = \
|
libosmo_gprs_llc_la_LIBADD = \
|
||||||
$(LIBOSMOCORE_LIBS) \
|
$(LIBOSMOCORE_LIBS) \
|
||||||
|
$(LIBOSMOGSM_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
AM_CFLAGS = \
|
AM_CFLAGS = \
|
||||||
-Wall \
|
-Wall \
|
||||||
$(LIBOSMOCORE_CFLAGS) \
|
$(LIBOSMOCORE_CFLAGS) \
|
||||||
|
$(LIBOSMOGSM_CFLAGS) \
|
||||||
-I$(top_srcdir)/include/ \
|
-I$(top_srcdir)/include/ \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue