diff options
author | Dariusz Michaluk <d.michaluk@samsung.com> | 2024-02-13 15:38:29 +0100 |
---|---|---|
committer | Dariusz Michaluk <d.michaluk@samsung.com> | 2024-02-13 15:38:29 +0100 |
commit | 031996ef501f8c3d0532f7df1c38cf2e540a4f11 (patch) | |
tree | 27217d793b273edadc969aa3110378aac3c36e9c /lib/Makefile.am | |
parent | 26bea900a531662c6028ecc06f4adea825658434 (diff) | |
download | libtasn1-upstream.tar.gz libtasn1-upstream.tar.bz2 libtasn1-upstream.zip |
Imported Upstream version 4.19.0upstream/4.19.0upstream
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 |