Skip to content

Commit

Permalink
build: move pkg-config files to pc dir and properly install libunival…
Browse files Browse the repository at this point in the history
…ue.pc
  • Loading branch information
theuni committed Sep 25, 2015
1 parent 9e0748e commit 36bdba2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ noinst_HEADERS = lib/univalue_escapes.h

lib_LTLIBRARIES = lib/libunivalue.la

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = pc/libunivalue.pc

lib_libunivalue_la_SOURCES = \
lib/univalue.cpp \
lib/univalue_read.cpp \
Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ esac

AC_CONFIG_FILES([
Makefile
lib/libunivalue.pc
lib/libunivalue-uninstalled.pc])
pc/libunivalue.pc
pc/libunivalue-uninstalled.pc])

AC_SUBST(LIBTOOL_APP_LDFLAGS)
AC_SUBST(BUILD_EXEEXT)
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 36bdba2

Please sign in to comment.