summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormalosek <malosek@fastmq.com>2009-09-08 15:06:08 +0200
committermalosek <malosek@fastmq.com>2009-09-08 15:06:08 +0200
commit844b590b5e348d8513ed574f6548cc0be41574af (patch)
treebc11322488d3ecfbf7b71d303ce01a813ae3713b /src
parentb3fc14522574ccad233bee02ea135d8a93fb2441 (diff)
added libzmq.pc.in file
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
-rw-r--r--src/libzmq.pc.in10
2 files changed, 12 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 6bc5fb6..83670f2 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,5 +1,7 @@
lib_LTLIBRARIES = libzmq.la
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libzmq.pc
if BUILD_CPP
include_HEADERS = ../cpp/zmq.hpp ../c/zmq.h
diff --git a/src/libzmq.pc.in b/src/libzmq.pc.in
new file mode 100644
index 0000000..ba155a3
--- /dev/null
+++ b/src/libzmq.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libzmq
+Description: 0MQ c++ library
+Version: @VERSION@
+Libs: -L${libdir} -lzmq
+Cflags: -I${includedir}