diff options
author | Jack Lloyd <[email protected]> | 2017-12-23 12:35:11 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-12-23 12:35:11 -0500 |
commit | cba5462b7e23740d7c6dd56cee471156e7694f44 (patch) | |
tree | 70c6a7a170f2ff6da005c8967f3a578b64326d3a | |
parent | 666cee04c7b98a40ceb421685db30c41337dfe77 (diff) |
Avoid defining LIB_LINK_CMD if we are not creating a shared object.
Makes the output look buggy on non-shared builds
-rw-r--r-- | src/build-data/makefile.in | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/build-data/makefile.in b/src/build-data/makefile.in index dda3c2004..994963112 100644 --- a/src/build-data/makefile.in +++ b/src/build-data/makefile.in @@ -13,7 +13,6 @@ WARN_FLAGS = %{cc_warning_flags} SO_OBJ_FLAGS = %{shared_flags} LDFLAGS = %{ldflags} -LIB_LINK_CMD = %{lib_link_cmd} EXE_LINK_CMD = %{exe_link_cmd} LIB_LINKS_TO = %{link_to} @@ -98,7 +97,7 @@ fuzzer_corpus_zip: fuzzer_corpus %{if build_unix_shared_lib} %{out_dir}/%{shared_lib_name}: $(LIBOBJS) - $(LIB_LINK_CMD) $(LDFLAGS) $(LIBOBJS) $(LIB_LINKS_TO) %{output_to_exe}$@ + %{lib_link_cmd} $(LDFLAGS) $(LIBOBJS) $(LIB_LINKS_TO) %{output_to_exe}$@ cd %{out_dir} && ln -fs %{shared_lib_name} %{soname_base} cd %{out_dir} && ln -fs %{shared_lib_name} %{soname_patch} @@ -107,7 +106,7 @@ fuzzer_corpus_zip: fuzzer_corpus %{if build_msvc_shared_lib} %{out_dir}/%{shared_lib_name}: $(LIBOBJS) - $(LIB_LINK_CMD) $(LDFLAGS) $(LIBOBJS) $(LIB_LINKS_TO) %{output_to_exe}$@ + %{lib_link_cmd} $(LDFLAGS) $(LIBOBJS) $(LIB_LINKS_TO) %{output_to_exe}$@ %{endif} |