build: Add a proper pkgconfig libgtp.pc for the GTP library
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
3a4c67b4bf
commit
ca36f29364
|
@ -1,2 +1,5 @@
|
||||||
## Process this file with automake to produce Makefile.in
|
## Process this file with automake to produce Makefile.in
|
||||||
SUBDIRS = lib gtp ggsn sgsnemu doc
|
SUBDIRS = lib gtp ggsn sgsnemu doc
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = libgtp.pc
|
||||||
|
|
|
@ -115,5 +115,6 @@ AC_CONFIG_FILES([Makefile
|
||||||
sgsnemu/Makefile
|
sgsnemu/Makefile
|
||||||
src/Makefile
|
src/Makefile
|
||||||
tests/Makefile
|
tests/Makefile
|
||||||
|
libgtp.pc
|
||||||
openggsn.spec])
|
openggsn.spec])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@
|
||||||
|
|
||||||
|
Name: OpenGGSN STP Library
|
||||||
|
Description: C Utility Library
|
||||||
|
Version: @VERSION@
|
||||||
|
Libs: -L${libdir} -lgtp
|
||||||
|
Cflags: -I${includedir}/
|
||||||
|
|
Reference in New Issue