mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fixed libraries linking parameters for windows
This commit is contained in:
parent
c9b7d7577b
commit
59a9c1afe9
2 changed files with 2 additions and 2 deletions
|
|
@ -65,7 +65,7 @@ main-build: VOXEL_ENGINE.exe
|
|||
VOXEL_ENGINE.exe: $(OBJS) $(USER_OBJS) makefile objects.mk $(OPTIONAL_TOOL_DEPS)
|
||||
@echo 'Building target: $@'
|
||||
@echo 'Invoking: MinGW C++ Linker'
|
||||
g++ -o "VOXEL_ENGINE.exe" $(OBJS) $(USER_OBJS) $(LIBS)
|
||||
g++ -o "VOXEL_ENGINE.exe" $(OBJS) $(USER_OBJS) $(LIBS) -static-libgcc -static-libstdc++
|
||||
@echo 'Finished building target: $@'
|
||||
@echo ' '
|
||||
|
||||
|
|
|
|||
|
|
@ -4,5 +4,5 @@
|
|||
|
||||
USER_OBJS :=
|
||||
|
||||
LIBS := -lglfw3 -lglew32 -lopengl32 -lspng -lgdi32 -lz
|
||||
LIBS := -lglfw3 -lglew32 -lopengl32 -lspng -lgdi32 -Wl,-Bstatic -lz
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue