summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2013-08-22 15:00:32 +0200
committerKai Blin <kai@samba.org>2013-08-22 20:48:44 +0200
commit573b455de9a45990446af26eea01539a32fef209 (patch)
tree0004870399a53428c2dbe3a856b04d159270bf25 /librpc
parenta0b245c78271d060d59f763fb586221ec10edd7b (diff)
downloadsamba-573b455de9a45990446af26eea01539a32fef209.tar.gz
samba-573b455de9a45990446af26eea01539a32fef209.tar.bz2
samba-573b455de9a45990446af26eea01539a32fef209.zip
pkgconfig: Do not hardcode library version numbers in pc files.
We control version numbers via 'vnum' from the wscript_build files for all other libraries. In case of libndr we already reported a wrong 0.0.1 version via pkgconfig while in fact the library is versioned as 0.0.2. Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Kai Blin <kai@samba.org> Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Thu Aug 22 20:48:44 CEST 2013 on sn-devel-104
Diffstat (limited to 'librpc')
-rw-r--r--librpc/ndr.pc.in2
-rw-r--r--librpc/ndr_krb5pac.pc.in2
-rw-r--r--librpc/ndr_nbt.pc.in2
-rw-r--r--librpc/ndr_standard.pc.in2
4 files changed, 4 insertions, 4 deletions
diff --git a/librpc/ndr.pc.in b/librpc/ndr.pc.in
index 1ee50cc2ce..6828ac07ff 100644
--- a/librpc/ndr.pc.in
+++ b/librpc/ndr.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
Name: ndr
Description: Network Data Representation Core Library
Requires: samba-util talloc
-Version: 0.0.1
+Version: @PACKAGE_VERSION@
Libs: @LIB_RPATH@ -L${libdir} -lndr
Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1
diff --git a/librpc/ndr_krb5pac.pc.in b/librpc/ndr_krb5pac.pc.in
index 21ecb55db7..597bbd10ab 100644
--- a/librpc/ndr_krb5pac.pc.in
+++ b/librpc/ndr_krb5pac.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
Name: ndr-krb5pac
Description: NDR marshallers for the KRB5 PAC formats
Requires: ndr
-Version: 0.0.1
+Version: @PACKAGE_VERSION@
Libs: @LIB_RPATH@ -L${libdir} -lndr-krb5pac
Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1
diff --git a/librpc/ndr_nbt.pc.in b/librpc/ndr_nbt.pc.in
index 5b69699d09..2083e2d5ce 100644
--- a/librpc/ndr_nbt.pc.in
+++ b/librpc/ndr_nbt.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
Name: ndr-nbt
Description: NDR marshallers for nbt formats
Requires: ndr
-Version: 0.0.1
+Version: @PACKAGE_VERSION@
Libs: @LIB_RPATH@ -L${libdir} -lndr-nbt
Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1
diff --git a/librpc/ndr_standard.pc.in b/librpc/ndr_standard.pc.in
index d400ef1da0..97687ba328 100644
--- a/librpc/ndr_standard.pc.in
+++ b/librpc/ndr_standard.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
Name: ndr-standard
Description: NDR marshallers for the standard set of DCE/RPC interfaces
Requires: ndr
-Version: 0.0.1
+Version: @PACKAGE_VERSION@
Libs: @LIB_RPATH@ -L${libdir} -lndr-standard
Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1