diff options
author | Laurent Bigonville <bigon@bigon.be> | 2019-06-11 11:34:16 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2019-06-11 11:36:56 -0400 |
commit | 013cc45abef8055b3ee135fc072e402611a4a3f0 (patch) | |
tree | 1e40ab492e9942cc7c5ea2911edd838d5f05877b | |
parent | 3a17941dbbfcc8e9fcf08004992615a774443a0d (diff) | |
download | ti-rpc-013cc45abef8055b3ee135fc072e402611a4a3f0.tar.gz |
Makefile.am: Use LIBADD instead of LDFLAGS to link against krb5
LDFLAGS shouldn't be used to link against libraries as this would break
positional flags like --as-needed
Use LIBADD instead
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1639032
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | src/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 932414d..b40a6b4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -38,7 +38,7 @@ endif if GSS libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c \ rpc_gss_utils.c - libtirpc_la_LDFLAGS += $(GSSAPI_LIBS) + libtirpc_la_LIBADD = $(GSSAPI_LIBS) libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSAPI_CFLAGS) endif |