mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-25 20:01:04 +00:00
r_opengl.dll: UPX and static link libgcc
This commit is contained in:
parent
a7938783de
commit
9550f9626b
1 changed files with 4 additions and 1 deletions
|
@ -623,7 +623,10 @@ opengl_dll: $(BIN)/r_opengl.dll
|
||||||
$(BIN)/r_opengl.dll: $(OBJDIR)/ogl_win.o $(OBJDIR)/r_opengl.o
|
$(BIN)/r_opengl.dll: $(OBJDIR)/ogl_win.o $(OBJDIR)/r_opengl.o
|
||||||
-$(MKDIR) $(BIN)
|
-$(MKDIR) $(BIN)
|
||||||
@echo Linking R_OpenGL.dll...
|
@echo Linking R_OpenGL.dll...
|
||||||
$(CC) --shared $^ -o $@ -g -Wl,--add-stdcall-alias -lgdi32
|
$(CC) --shared $^ -o $@ -g -Wl,--add-stdcall-alias -lgdi32 -static-libgcc
|
||||||
|
ifndef NOUPX
|
||||||
|
-$(UPX) $(UPX_OPTS) $@
|
||||||
|
endif
|
||||||
|
|
||||||
minigl_dll: $(BIN)/r_minigl.dll
|
minigl_dll: $(BIN)/r_minigl.dll
|
||||||
$(BIN)/r_minigl.dll: $(OBJDIR)/r_minigl.o
|
$(BIN)/r_minigl.dll: $(OBJDIR)/r_minigl.o
|
||||||
|
|
Loading…
Reference in a new issue