Skip to content

Commit

Permalink
Makefile: fix EFI library naming
Browse files Browse the repository at this point in the history
Move base name to flavor name when building the EFI variant.

Fixes: #168

Signed-off-by: Sergio Lopez <[email protected]>
  • Loading branch information
slp authored and tylerfanelli committed Feb 15, 2024
1 parent 7dbbbf1 commit d7b5d07
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ endif
ifeq ($(OS),Linux)
patchelf --set-soname $(KRUN_SONAME_$(OS)) --output $(LIBRARY_RELEASE_$(OS)) target/release/$(KRUN_BASE_$(OS))
else
ifeq ($(EFI),1)
mv target/release/libkrun.dylib target/release/$(KRUN_BASE_$(OS))
endif
cp target/release/$(KRUN_BASE_$(OS)) $(LIBRARY_RELEASE_$(OS))
endif

Expand Down

0 comments on commit d7b5d07

Please sign in to comment.