From 03d340462f63568bf8a2b39e9e0e4695b791594b Mon Sep 17 00:00:00 2001 From: Daniel Schwen Date: Mon, 9 Dec 2024 13:43:00 -0700 Subject: [PATCH] Make sure symlinks are set up (#27438) --- modules/solid_mechanics/contrib/neml2.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/solid_mechanics/contrib/neml2.mk b/modules/solid_mechanics/contrib/neml2.mk index cf8dd75cd872..ee782b74452e 100644 --- a/modules/solid_mechanics/contrib/neml2.mk +++ b/modules/solid_mechanics/contrib/neml2.mk @@ -78,6 +78,12 @@ NEML2_SRC := $(shell find $(NEML2_SRC_DIRS) -name "*.cxx") NEML2_OBJ := $(patsubst %.cxx,%.$(obj-suffix),$(NEML2_SRC)) NEML2_LIB := $(NEML2_DIR)/libNEML2-$(METHOD).la +ifeq ($(MOOSE_HEADER_SYMLINKS),true) +$(NEML2_OBJ): $(moose_config_symlink) | moose_header_symlinks +else +$(NEML2_OBJ): $(moose_config) +endif + $(NEML2_LIB): $(NEML2_OBJ) @echo "Linking Library "$@"..." @$(libmesh_LIBTOOL) --tag=CC $(LIBTOOLFLAGS) --mode=link --quiet \