Skip to content
Snippets Groups Projects
Commit 9550f962 authored by Alam Ed Arias's avatar Alam Ed Arias
Browse files

r_opengl.dll: UPX and static link libgcc

parent a7938783
No related branches found
No related tags found
No related merge requests found
......@@ -623,7 +623,10 @@ opengl_dll: $(BIN)/r_opengl.dll
$(BIN)/r_opengl.dll: $(OBJDIR)/ogl_win.o $(OBJDIR)/r_opengl.o
-$(MKDIR) $(BIN)
@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
$(BIN)/r_minigl.dll: $(OBJDIR)/r_minigl.o
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment