diff --git a/Makefile.am b/Makefile.am index 4a204135..1ffed92a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -9,10 +9,14 @@ pkgconfig_DATA = $(top_builddir)/libtoxcore.pc BUILT_SOURCES = $(top_builddir)/libtoxcore.pc CLEANFILES = $(top_builddir)/libtoxcore.pc +pkgconfig_DATA += $(top_builddir)/libtoxencryptsave.pc +BUILT_SOURCES += $(top_builddir)/libtoxencryptsave.pc +CLEANFILES += $(top_builddir)/libtoxencryptsave.pc EXTRA_DIST = \ README.md \ libtoxcore.pc.in \ + libtoxencryptsave.pc.in \ tox.spec \ dist-build/android-arm.sh \ dist-build/android-armv7.sh \ diff --git a/configure.ac b/configure.ac index 46162b44..670bf95f 100644 --- a/configure.ac +++ b/configure.ac @@ -694,6 +694,7 @@ AM_CONDITIONAL(WIN32, test "x$WIN32" = "xyes") AC_CONFIG_FILES([Makefile build/Makefile libtoxcore.pc + libtoxencryptsave.pc tox.spec ]) diff --git a/libtoxencryptsave.pc.in b/libtoxencryptsave.pc.in new file mode 100644 index 00000000..10719c9a --- /dev/null +++ b/libtoxencryptsave.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libtoxencryptsave +Description: Tox EncryptSave library +Requires: libtoxcore +Version: 0.0.0 +Libs: -L${libdir} -ltoxencryptsave