1
0
mirror of https://github.com/BLAKE2/libb2 synced 2024-11-22 20:21:59 +01:00

Merge branch 'RonnyPfannschmidt-pkg-config'

This commit is contained in:
Samuel Neves 2019-03-10 15:25:49 +00:00
commit 09e2aeeb1d
3 changed files with 18 additions and 1 deletions

@ -2,4 +2,6 @@ ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = COPYING
SUBDIRS = src
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

@ -0,0 +1,12 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: libb2
Description: C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp
URL: https://github.com/BLAKE2/libb2
Version: @VERSION@
Requires:
Cflags: -I${includedir}
Libs: -L${libdir} -lb2