Merge branch 'master' of github.com:a1batross/halflife-updated into a1batross-master

This commit is contained in:
Joël Troch 2024-09-01 22:43:03 +02:00
commit e7a39c7777
3 changed files with 11 additions and 2 deletions

View file

@ -1,5 +1,13 @@
# Half-Life Updated changelog
## Changes in V1.1.1
> Note: this update has not been released yet.
### Bug fixes
* Link Linux binaries with `-Wl` and `--no-undefined` flags to avoid situations where something was referenced but wasn't added in the build (Thanks a1batross)
## Changes in V1.1.0
### Bug Fixes

View file

@ -437,6 +437,7 @@ Fixes for bugs introduced in beta builds are not included in this list.
* Disabled GCC optimization that prevents mod dlls from unloading after engine calls dlclose
* Fixed third party libraries possibly not being linked to when building Linux server dll (Thanks a1batross)
* Mods made with this SDK will now shut down if they detect they are being run from a Valve game directory (e.g. by placing the dlls in `Half-Life/valve/cl_dlls` and `Half-Life/valve/dlls`). This is not supported and puts users at risk of being VAC banned. Run mods from their intended location only
* Link Linux binaries with `-Wl` and `--no-undefined` flags to avoid situations where something was referenced but wasn't added in the build (Thanks a1batross)
## Git repository changes

View file

@ -54,9 +54,9 @@ endif
SHLIBEXT=so
SHLIBCFLAGS=
ifeq "$(CFG)" "release"
SHLIBLDFLAGS="-shared -Wl,-Map,$@_map.txt"
SHLIBLDFLAGS="-shared -Wl,-Map,$@_map.txt -Wl,--no-undefined"
else
SHLIBLDFLAGS="-shared -gdwarf-2 -g2 -Wl,-Map,$@_map.txt"
SHLIBLDFLAGS="-shared -gdwarf-2 -g2 -Wl,-Map,$@_map.txt -Wl,--no-undefined"
endif
AR=ar