Explicitly link against required libraries.
This breaks on some newer systems which enable --as-needed by default. Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:

committed by
Love Hornquist Astrand

parent
0c7e233195
commit
1bc55fab42
@@ -8,5 +8,4 @@ gssmask_SOURCES = gssmask.c common.c common.h protocol.h
|
|||||||
|
|
||||||
gssmaestro_SOURCES = gssmaestro.c common.c common.h protocol.h
|
gssmaestro_SOURCES = gssmaestro.c common.c common.h protocol.h
|
||||||
|
|
||||||
LDADD = $(top_builddir)/lib/gssapi/libgssapi.la $(LIB_roken)
|
LDADD = $(top_builddir)/lib/gssapi/libgssapi.la $(LIB_roken) $(top_builddir)/lib/krb5/libkrb5.la
|
||||||
|
|
||||||
|
@@ -7,12 +7,11 @@ AM_CPPFLAGS += $(INCLUDE_hcrypto)
|
|||||||
bin_PROGRAMS = otp otpprint
|
bin_PROGRAMS = otp otpprint
|
||||||
bin_SUIDS = otp
|
bin_SUIDS = otp
|
||||||
otp_SOURCES = otp.c otp_locl.h
|
otp_SOURCES = otp.c otp_locl.h
|
||||||
|
otp_LDADD = $(LIB_hcrypto) $(LIB_roken) $(top_builddir)/lib/otp/libotp.la
|
||||||
otpprint_SOURCES = otpprint.c otp_locl.h
|
otpprint_SOURCES = otpprint.c otp_locl.h
|
||||||
|
|
||||||
|
otpprint_LDADD = $(LIB_hcrypto) $(LIB_roken) $(top_builddir)/lib/otp/libotp.la
|
||||||
|
|
||||||
man_MANS = otp.1 otpprint.1
|
man_MANS = otp.1 otpprint.1
|
||||||
|
|
||||||
LDADD = \
|
|
||||||
$(top_builddir)/lib/otp/libotp.la \
|
|
||||||
$(LIB_roken)
|
|
||||||
|
|
||||||
EXTRA_DIST = $(man_MANS)
|
EXTRA_DIST = $(man_MANS)
|
||||||
|
Reference in New Issue
Block a user