Skip to content

Commit a7c6084

Browse files
committed
treematch: Remove -static libtool flag
While we always want to build the treematch library as a helper library (ie, one not installed), we do not want to always invoke Libtool's -static argument when building the library. This results in build failures due to missing PIC flags when building both shared and static libraries. Signed-off-by: Brian Barrett <[email protected]>
1 parent 80656c4 commit a7c6084

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

3rd-party/treematch/Makefile.am

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
#
2+
# Copyright (c) 2022 Amazon.com, Inc. or its affiliates. All Rights reserved.
3+
# $COPYRIGHT$
4+
#
5+
# Additional copyrights may follow
6+
#
7+
# $HEADER$
8+
#
9+
110
sources = tm_bucket.h \
211
tm_mapping.h \
312
tm_timings.h tm_tree.h \
@@ -21,7 +30,7 @@ EXTRA_DIST = COPYING LICENSE
2130

2231
noinst_LTLIBRARIES = libtreematch.la
2332
libtreematch_la_SOURCES = $(sources)
24-
libtreematch_la_LDFLAGS = -static
33+
libtreematch_la_LDFLAGS =
2534

2635
distclean-local:
2736
rm config.h

0 commit comments

Comments
 (0)