Skip to content

Commit

Permalink
link lib64 to lib so libantrl4-runtime lib can be found (#8700)
Browse files Browse the repository at this point in the history
- get el8 and fedora to work
  • Loading branch information
adrpo committed Mar 15, 2022
1 parent 8bb0b0b commit 4e0bd44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMParser/Makefile
Expand Up @@ -26,7 +26,6 @@ libOMParser.a: $(OBJS)
$(AR) -s -r $@ $(OBJS)
mkdir -p $(OMBUILDDIR)/lib/$(host_short)/omc/ $(OMBUILDDIR)/include/omc/
cp -pR $@ $(OMBUILDDIR)/lib/$(host_short)/omc/
# cp -pR install/include/antlr4-runtime $(OMBUILDDIR)/include/omc/

$(OBJS): $(CPP_FILES) install/lib/libantlr4-runtime.a

Expand All @@ -37,6 +36,7 @@ install/lib/libantlr4-runtime.a: 3rdParty/antlr4/runtime/Cpp/CMakeLists.txt
mkdir -p 3rdParty/antlr4/runtime/Cpp/build
$(MAKE) 3rdParty/antlr4/runtime/Cpp/build/Makefile
$(MAKE) -C 3rdParty/antlr4/runtime/Cpp/build/ install
if test -d "./install/lib64"; then ln -sf ./install/lib64 ./install/lib; fi

$(CPP_FILES): runtool

Expand Down

0 comments on commit 4e0bd44

Please sign in to comment.