mirror of
https://github.com/BLAKE2/libb2
synced 2024-11-26 08:53:49 +01:00
add support for pkg-config by emmiting a libb2.pc
This commit is contained in:
parent
7feb2bb35d
commit
9aff919276
@ -3,3 +3,5 @@ ACLOCAL_AMFLAGS = -I m4
|
||||
EXTRA_DIST = COPYING
|
||||
|
||||
SUBDIRS = src
|
||||
|
||||
pkgconfig_DATA = libb2.pc
|
@ -86,7 +86,10 @@ AM_CONDITIONAL([USE_FAT], [test "$enable_fat" = "yes"])
|
||||
dnl Only move away from ref with SSSE3; SSE2 is generally slower
|
||||
AM_CONDITIONAL([USE_SSE], [test "$ax_cv_have_ssse3_ext" = "yes"])
|
||||
|
||||
|
||||
PKG_INSTALLDIR
|
||||
AC_CONFIG_FILES([Makefile
|
||||
src/Makefile
|
||||
libb2.pc
|
||||
])
|
||||
AC_OUTPUT
|
||||
|
12
libb2.pc.in
Normal file
12
libb2.pc.in
Normal file
@ -0,0 +1,12 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: Blake2
|
||||
Description: C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp
|
||||
URL: https://github.com/BLAKE2/libb2
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Cflags: -I${includedir}
|
||||
Libs: -L${libdir} -lb2
|
Loading…
Reference in New Issue
Block a user