diff options
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r-- | lib/Makefile.am | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 9f11955..1fb36f0 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1,5 +1,5 @@ ## Process this file with automake to produce Makefile.in -# Copyright (C) 2002-2014 Free Software Foundation, Inc. +# Copyright (C) 2002-2022 Free Software Foundation, Inc. # # This file is part of LIBTASN1. # @@ -21,6 +21,7 @@ SUBDIRS = gl AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) $(CFLAG_VISIBILITY) $(CODE_COVERAGE_CFLAGS) AM_CPPFLAGS = -I$(builddir)/gl -I$(srcdir)/gl -I$(builddir)/includes -I$(srcdir)/includes\ -DASN1_BUILDING $(CODE_COVERAGE_CPPFLAGS) +AM_YFLAGS = -Wno-yacc include_HEADERS = includes/libtasn1.h @@ -59,3 +60,11 @@ libtasn1_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libtasn1.map else libtasn1_la_LDFLAGS += -export-symbols-regex '^(asn1|libtasn1_).*' endif + +if HAVE_LD_OUTPUT_DEF +libtasn1_la_LDFLAGS += -Wl,--output-def,libtasn1-$(DLL_VERSION).def +libtasn1-$(DLL_VERSION).def: libtasn1.la +defexecdir = $(libdir) +defexec_DATA = libtasn1-$(DLL_VERSION).def +DISTCLEANFILES = $(defexec_DATA) +endif |