diff options
-rw-r--r-- | source4/configure.ac | 2 | ||||
-rw-r--r-- | source4/lib/registry/config.mk | 1 | ||||
-rw-r--r-- | source4/lib/registry/registry.pc.in | 12 |
3 files changed, 15 insertions, 0 deletions
diff --git a/source4/configure.ac b/source4/configure.ac index 882bd28d00..59a21375f6 100644 --- a/source4/configure.ac +++ b/source4/configure.ac @@ -27,6 +27,8 @@ m4_include(lib/charset/config.m4) m4_include(lib/socket/config.m4) m4_include(nsswitch/nsstest.m4) +AC_OUTPUT(lib/registry/registry.pc) + SMB_EXT_LIB_FROM_PKGCONFIG(LIBTALLOC, talloc >= 1.1.0, [], [ 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 |