1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-23 20:15:19 -07:00

Merge pull request #66 from morfoh/pkgconfig

build: create and install a pkgconfig file
This commit is contained in:
Frank Denis 2013-08-11 22:08:20 -07:00
commit dcea4e938b
3 changed files with 15 additions and 0 deletions

View File

@ -9,3 +9,6 @@ EXTRA_DIST = \
SUBDIRS = \
src \
test
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = @PACKAGE_NAME@.pc

View File

@ -362,6 +362,7 @@ AH_VERBATIM([NDEBUG], [/* Never ever ignore assertions */
#/**/undef/**/ NDEBUG
#endif])
AC_CONFIG_FILES([libsodium.pc])
AC_CONFIG_FILES([Makefile
src/Makefile
src/libsodium/Makefile

11
libsodium.pc.in Normal file
View File

@ -0,0 +1,11 @@
prefix=@prefix@
exec_prefix=@prefix@
libdir=@libdir@
includedir=@includedir@
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
Description: A portable, cross-compilable, installable, packageable fork of NaCl, with a compatible API.
Libs: -L${libdir} -lsodium
Cflags: -I${includedir}