Restore copying RPC_LIBS to BUILD_DIR (#568)

The Makefile changes from 578536e removed `$(BUILD_DIR)/$(RPC_LIBS)` from the `$(EXE)` target. This meant it was no longer copied to the build dir, so at runtime the .exe couldn't find it.

This restores that part of the `$(EXE)` rule if `RPC_LIBS` is non-empty.

Fixes #558.
This commit is contained in:
Remy Jette 2024-07-03 00:40:50 -07:00 committed by GitHub
parent 6f7d974a73
commit 20bb444562
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1030,7 +1030,7 @@ $(BUILD_DIR)/%.o: %.s
$(EXE): $(O_FILES) $(MIO0_FILES:.mio0=.o) $(SOUND_OBJ_FILES) $(ULTRA_O_FILES) $(GODDARD_O_FILES)
$(EXE): $(O_FILES) $(MIO0_FILES:.mio0=.o) $(SOUND_OBJ_FILES) $(ULTRA_O_FILES) $(GODDARD_O_FILES) $(if $(RPC_LIBS),$(BUILD_DIR)/$(RPC_LIBS),)
$(LD) -L $(BUILD_DIR) -o $@ $(O_FILES) $(SOUND_OBJ_FILES) $(ULTRA_O_FILES) $(GODDARD_O_FILES) $(LDFLAGS)
.PHONY: all clean distclean default diff test load libultra res