eloop: add pkg-config file
The pkg-config file allows other users of libeloop to more easily configure build-time options for eloop. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
parent
246595ab5a
commit
cea022d36e
1
.gitignore
vendored
1
.gitignore
vendored
@ -19,6 +19,7 @@ config.status
|
||||
configure
|
||||
*.tar.bz2
|
||||
libtool
|
||||
libeloop.pc
|
||||
m4/
|
||||
stamp-*
|
||||
.deps
|
||||
|
@ -12,6 +12,8 @@ EXTRA_DIST = \
|
||||
COPYING \
|
||||
NEWS
|
||||
CLEANFILES =
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA =
|
||||
|
||||
#
|
||||
# Build targets
|
||||
@ -290,6 +292,8 @@ libeloop_la_LDFLAGS = \
|
||||
include_HEADERS += \
|
||||
src/eloop.h
|
||||
|
||||
pkgconfig_DATA += libeloop.pc
|
||||
|
||||
#
|
||||
# libkmscon-static
|
||||
# This static library contains all small helpers that are used in several other
|
||||
|
@ -547,7 +547,7 @@ AC_SUBST(FREETYPE2_LIBS)
|
||||
AC_SUBST(PANGO_CFLAGS)
|
||||
AC_SUBST(PANGO_LIBS)
|
||||
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_CONFIG_FILES([Makefile libeloop.pc])
|
||||
AC_OUTPUT([src/genshader.c])
|
||||
|
||||
#
|
||||
|
11
libeloop.pc.in
Normal file
11
libeloop.pc.in
Normal file
@ -0,0 +1,11 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: eloop
|
||||
Description: Epoll-based Event-Loop Library
|
||||
URL: @PACKAGE_URL@
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -leloop
|
||||
Cflags: -I${includedir}
|
Loading…
x
Reference in New Issue
Block a user