src/Makefile.am: libraries shall not be in LDFLAGS but in LIBADD

Change-Id: I53dd51ab1f4666c42851a6cbdf1ee970530edee1
changes/60/31860/1
Vadim Yanitskiy 2023-03-13 04:34:50 +07:00
parent be3a5105d0
commit d762965f77
1 changed files with 10 additions and 1 deletions

View File

@ -11,5 +11,14 @@ endif
lib_LTLIBRARIES = libasn1c.la
libasn1c_la_LDFLAGS = $(LIBTALLOC_LIBS) -lm -version-info $(LIBVERSION) -no-undefined
libasn1c_la_LIBADD = \
$(LIBTALLOC_LIBS) \
-lm \
$(NULL)
libasn1c_la_LDFLAGS = \
-version-info $(LIBVERSION) \
-no-undefined \
$(NULL)
libasn1c_la_SOURCES = ANY.c constraints.c GeneralizedTime.c NumericString.c T61String.c asn_codecs_prim.c constr_CHOICE.c GeneralString.c ObjectDescriptor.c TeletexString.c asn_SEQUENCE_OF.c constr_SEQUENCE.c GraphicString.c OBJECT_IDENTIFIER.c UniversalString.c asn_SET_OF.c constr_SEQUENCE_OF.c IA5String.c OCTET_STRING.c UTCTime.c ber_decoder.c constr_SET.c INTEGER.c per_decoder.c UTF8String.c ber_tlv_length.c constr_SET_OF.c ISO646String.c per_encoder.c VideotexString.c ber_tlv_tag.c constr_TYPE.c NativeEnumerated.c per_support.c VisibleString.c BIT_STRING.c NativeInteger.c PrintableString.c xer_decoder.c BMPString.c der_encoder.c NativeReal.c REAL.c xer_encoder.c BOOLEAN.c ENUMERATED.c NULL.c RELATIVE-OID.c xer_support.c per_opentype.c asn1helpers.c