summaryrefslogtreecommitdiff
path: root/source4/lib/registry
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-22 18:28:51 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-22 18:28:51 +0100
commit127e8743193dbb4b0632172ac5a562a3b807f07d (patch)
treea7e1143e2ad1d5cf1d3e2b4edcf8fcd38b296c53 /source4/lib/registry
parentcc984e4046726696a0e71a0fda488e947ccd05eb (diff)
downloadsamba-127e8743193dbb4b0632172ac5a562a3b807f07d.tar.gz
samba-127e8743193dbb4b0632172ac5a562a3b807f07d.tar.bz2
samba-127e8743193dbb4b0632172ac5a562a3b807f07d.zip
registry: Use manually written .pc file.
(This used to be commit 5c64d4adaf50215ec2645f76e6c0335572147614)
Diffstat (limited to 'source4/lib/registry')
-rw-r--r--source4/lib/registry/config.mk1
-rw-r--r--source4/lib/registry/registry.pc.in12
2 files changed, 13 insertions, 0 deletions
diff --git a/source4/lib/registry/config.mk b/source4/lib/registry/config.mk
index f1f50479cb..a7365a49ae 100644
--- a/source4/lib/registry/config.mk
+++ b/source4/lib/registry/config.mk
@@ -18,6 +18,7 @@ clean::
# Start SUBSYSTEM registry
[LIBRARY::registry]
VERSION = 0.0.1
+PC_FILE = registry.pc
SO_VERSION = 0
DESCRIPTION = Windows-style registry library
OBJ_FILES = \
diff --git a/source4/lib/registry/registry.pc.in b/source4/lib/registry/registry.pc.in
new file mode 100644
index 0000000000..21184c483c
--- /dev/null
+++ b/source4/lib/registry/registry.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: registry
+Description: Windows-style registry library
+Requires: ldb
+Requires.private:
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lregistry
+Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1