summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-10-28 13:58:23 +0200
committerHarald Welte <laforge@gnumonks.org>2017-10-28 13:58:23 +0200
commit0e1a6450a44e367b796fc5a905e3a081ae12a20c (patch)
treed0894adda6094f002ca93aed263de24b9944494d /src
parenta4d72b02e2380eadd0abd758bd9fb34b59f58d8a (diff)
link libasn1c against libmath, don't ask users to do it
libasn1c is using libm[ath] symbols from REAL.c and hence should be linked using '-lm' to carry a dynamic linker dependency itself. We shouldn't use a pkg-config hack to ask applications to do this on our behalf. Change-Id: Ie107f7252eeed90233468deaef57d3cee36abdf4
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 0f05cce..8009c76 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -11,6 +11,6 @@ endif
lib_LTLIBRARIES = libasn1c.la
-libasn1c_la_LDFLAGS = $(LIBTALLOC_LIBS)
+libasn1c_la_LDFLAGS = $(LIBTALLOC_LIBS) -lm
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