mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
libevent_core and libevent_extra also deserve a pkgconfig file
This commit is contained in:
parent
d5e634a80e
commit
b8d7c6211a
@ -93,7 +93,7 @@ dist_bin_SCRIPTS = event_rpcgen.py
|
||||
endif
|
||||
|
||||
pkgconfigdir=$(libdir)/pkgconfig
|
||||
LIBEVENT_PKGCONFIG=libevent.pc
|
||||
LIBEVENT_PKGCONFIG=libevent.pc libevent_core.pc libevent_extra.pc
|
||||
|
||||
# These sources are conditionally added by configure.ac or conditionally
|
||||
# included from other files.
|
||||
@ -299,5 +299,5 @@ doxygen: FORCE
|
||||
doxygen $(srcdir)/Doxyfile
|
||||
FORCE:
|
||||
|
||||
DISTCLEANFILES += *~ libevent.pc ./include/event2/event-config.h
|
||||
DISTCLEANFILES += *~ libevent.pc libevent_core.pc libevent_extra.pc ./include/event2/event-config.h
|
||||
|
||||
|
@ -915,5 +915,5 @@ AC_SUBST([LIBEVENT_GC_SECTIONS])
|
||||
|
||||
AM_CONDITIONAL([INSTALL_LIBEVENT], [test "$enable_libevent_install" = "yes"])
|
||||
|
||||
AC_CONFIG_FILES( [libevent.pc libevent_openssl.pc libevent_pthreads.pc] )
|
||||
AC_CONFIG_FILES( [libevent.pc libevent_openssl.pc libevent_pthreads.pc libevent_core.pc libevent_extra.pc] )
|
||||
AC_OUTPUT(Makefile)
|
||||
|
16
libevent_core.pc.in
Normal file
16
libevent_core.pc.in
Normal file
@ -0,0 +1,16 @@
|
||||
#libevent pkg-config source file
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: libevent_core
|
||||
Description: libevent_core
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Conflicts:
|
||||
Libs: -L${libdir} -levent_core
|
||||
Libs.private: @LIBS@
|
||||
Cflags: -I${includedir}
|
||||
|
16
libevent_extra.pc.in
Normal file
16
libevent_extra.pc.in
Normal file
@ -0,0 +1,16 @@
|
||||
#libevent pkg-config source file
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: libevent_extra
|
||||
Description: libevent_extra
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Conflicts:
|
||||
Libs: -L${libdir} -levent_extra
|
||||
Libs.private: @LIBS@
|
||||
Cflags: -I${includedir}
|
||||
|
Loading…
x
Reference in New Issue
Block a user