mirror of
https://github.com/nasa/trick.git
synced 2024-12-19 21:27:54 +00:00
Add rpath for llvm (#1254)
Co-authored-by: Fennell, Scott P 263712616 <scott.p.fennell@nasa.gov>
This commit is contained in:
parent
0c207dd511
commit
749d3db8ef
@ -55,6 +55,10 @@ all: $(ICG)
|
||||
$(ICG): $(OBJECTS) $(UDUNITS_OBJS)
|
||||
$(CXX) -o $@ $(OBJECTS) $(UDUNITS_OBJS) $(CLANGLIBS) $(LLVMLDFLAGS)
|
||||
|
||||
ifeq ($(TRICK_HOST_TYPE),Darwin)
|
||||
@install_name_tool -add_rpath `$(LLVM_HOME)/bin/llvm-config --libdir` $(ICG)
|
||||
endif
|
||||
|
||||
# Only FieldDescription.cpp includes the units conversion header.
|
||||
$(OBJ_DIR)/FieldDescription.o : CXXFLAGS += -I$(TRICK_HOME)/include
|
||||
$(OBJ_DIR)/HeaderSearchDirs.o : CXXFLAGS += -DLLVM_HOME=\"${LLVM_HOME}\"
|
||||
|
Loading…
Reference in New Issue
Block a user