mirror of
https://github.com/status-im/secp256k1.git
synced 2025-02-22 18:58:08 +00:00
Merge pull request #18
4212f7d packaging: add pkg-config file to gitignore (Cory Fields) 67a4765 packaging: fixup pkg-config (Cory Fields) 81b2fae packaging: remove the --with-pkgconfigdir option (Cory Fields) c7ee71f add pkg-config support (Amir Taaki)
This commit is contained in:
commit
728554dfae
1
.gitignore
vendored
1
.gitignore
vendored
@ -32,3 +32,4 @@ m4/ltsugar.m4
|
||||
m4/ltversion.m4
|
||||
m4/lt~obsolete.m4
|
||||
src/stamp-h1
|
||||
libsecp256k1.pc
|
||||
|
@ -32,6 +32,9 @@ noinst_HEADERS += src/field_gmp_impl.h
|
||||
noinst_HEADERS += src/field.h
|
||||
noinst_HEADERS += src/field_impl.h
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = libsecp256k1.pc
|
||||
|
||||
if USE_ASM
|
||||
libsecp256k1_la_SOURCES += src/field_5x52_asm.asm
|
||||
endif
|
||||
|
@ -294,7 +294,7 @@ AC_MSG_NOTICE([Using field implementation: $set_field])
|
||||
AC_MSG_NOTICE([Using bignum implementation: $set_bignum])
|
||||
|
||||
AC_CONFIG_HEADERS([src/libsecp256k1-config.h])
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_CONFIG_FILES([Makefile libsecp256k1.pc])
|
||||
AC_SUBST(SECP_INCLUDES)
|
||||
AC_SUBST(SECP_LIBS)
|
||||
AC_SUBST(SECP_TEST_LIBS)
|
||||
|
13
libsecp256k1.pc.in
Normal file
13
libsecp256k1.pc.in
Normal file
@ -0,0 +1,13 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: libsecp256k1
|
||||
Description: Optimized C library for EC operations on curve secp256k1
|
||||
URL: https://github.com/bitcoin/secp256k1
|
||||
Version: @PACKAGE_VERSION@
|
||||
Cflags: -I${includedir}
|
||||
Libs.private: @SECP_LIBS@
|
||||
Libs: -L${libdir} -lsecp256k1
|
||||
|
Loading…
x
Reference in New Issue
Block a user