add pkg-config file libwebsockets.pc

Signed-off-by: Alon Levy <alevy@redhat.com>
This commit is contained in:
Alon Levy 2012-10-19 11:21:54 +02:00 committed by Andy Green
parent 88f8d5754c
commit 3147b027fd
3 changed files with 18 additions and 1 deletions

View file

@ -2,3 +2,7 @@
SUBDIRS=lib test-server
EXTRA_DIST=scripts/kernel-doc
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libwebsockets.pc

View file

@ -127,4 +127,6 @@ AC_CONFIG_FILES([Makefile
lib/Makefile
test-server/Makefile])
AC_OUTPUT
AC_OUTPUT([
libwebsockets.pc
])

11
libwebsockets.pc.in Normal file
View file

@ -0,0 +1,11 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: libwebsockets
Description: Websockets server and client library
Version: @VERSION@
Libs: -L${libdir} -lwebsockets
Cflags: -I${includedir}