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