diff options
author | Niels de Vos <ndevos@redhat.com> | 2015-04-03 18:14:13 +0200 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-04-10 11:39:52 +0000 |
commit | 6eb27480b6559103e4437facd7aecbcd373479c9 (patch) | |
tree | 946b5531baddce4387ac7786f7230c3d52dd1161 /glusterfs-api.pc.in | |
parent | 26cbd3bdf5dad190559afbdf0ac125262c4e90a6 (diff) |
build: make contrib/uuid dependency optional
On Linux systems we should use the libuuid from the distribution and not
bundle and statically link the contrib/uuid/ bits.
libglusterfs/src/compat-uuid.h has been introduced and should become an
abstraction layer for different UUID APIs. Non-Linux operating systems
should implement their compatibility layer there.
Once all operating systems have an implementation in compat-uuid.h, we
can remove contrib/uuid/ from the repository completely.
Change-Id: I345e5357644be2521685e00358bb8c83c4ea0577
BUG: 1206587
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/10129
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'glusterfs-api.pc.in')
-rw-r--r-- | glusterfs-api.pc.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glusterfs-api.pc.in b/glusterfs-api.pc.in index a8bc8ebda99..5d234543414 100644 --- a/glusterfs-api.pc.in +++ b/glusterfs-api.pc.in @@ -7,5 +7,6 @@ Name: glusterfs-api Description: GlusterFS API /* This is the API version, NOT package version */ Version: @GFAPI_VERSION@ +Requires: @PKGCONFIG_UUID@ Libs: -L${libdir} @GFAPI_LIBS@ -lgfapi -lglusterfs -lgfrpc -lgfxdr Cflags: -I${includedir}/glusterfs -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -DUSE_POSIX_ACLS=@USE_POSIX_ACLS@ |