fixed libraries linking parameters for windows
This commit is contained in:
parent
c9b7d7577b
commit
59a9c1afe9
@ -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…
x
Reference in New Issue
Block a user