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:
commit
dcea4e938b
@ -9,3 +9,6 @@ EXTRA_DIST = \
|
||||
SUBDIRS = \
|
||||
src \
|
||||
test
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = @PACKAGE_NAME@.pc
|
||||
|
@ -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
11
libsodium.pc.in
Normal 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}
|
Loading…
Reference in New Issue
Block a user