Skip to content

Commit

Permalink
pkgconfig: Do not hardcode library version numbers in pc files.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Kai Blin <[email protected]>

Autobuild-User(master): Kai Blin <[email protected]>
Autobuild-Date(master): Thu Aug 22 20:48:44 CEST 2013 on sn-devel-104
  • Loading branch information
gd authored and kblin committed Aug 22, 2013
1 parent a0b245c commit 573b455
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/torture/torture.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ modulesdir=${prefix}/modules/torture
Name: torture
Description: Samba torture (test) suite
Requires: talloc
Version: 0.0.1
Version: @PACKAGE_VERSION@
Libs: @LIB_RPATH@ -L${libdir} -ltorture
Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
2 changes: 1 addition & 1 deletion lib/util/samba-util.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ includedir=@includedir@
Name: samba-util
Description: Samba utility functions
Requires: talloc tevent
Version: 0.0.1
Version: @PACKAGE_VERSION@
Libs: @LIB_RPATH@ -L${libdir} -lsamba-util
Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
2 changes: 1 addition & 1 deletion librpc/ndr.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion librpc/ndr_krb5pac.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion librpc/ndr_nbt.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion librpc/ndr_standard.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 573b455

Please sign in to comment.