Compare commits
4 Commits
v1.0.0-pre.10
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 5509c18b17 | |||
| cc39200917 | |||
| 95d7191fdd | |||
| eb4b4c1f80 |
+14
-1
@@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [1.0.0-pre.12] - 2026-03-29
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- `gmake.mk`: changed static library extension on Windows from `.lib` to `.a` for MinGW compatibility
|
||||||
|
- `module_loader`: use `RTLD_GLOBAL` when loading modules to correctly expose host symbols to dynamic libraries
|
||||||
|
|
||||||
|
## [1.0.0-pre.11] - 2026-03-15
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- `gmake.mk`: `PREFIX` now defaults to `/usr` on Linux instead of `/usr/local`
|
||||||
|
|
||||||
## [1.0.0-pre.10] - 2026-03-14
|
## [1.0.0-pre.10] - 2026-03-14
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
@@ -207,7 +218,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Dependency management and versioning not yet implemented
|
- Dependency management and versioning not yet implemented
|
||||||
- API is unstable and subject to change in future releases
|
- API is unstable and subject to change in future releases
|
||||||
|
|
||||||
[Unreleased]: https://github.com/anth64/stk/compare/v1.0.0-pre.10...HEAD
|
[Unreleased]: https://github.com/anth64/stk/compare/v1.0.0-pre.12...HEAD
|
||||||
|
[1.0.0-pre.12]: https://github.com/anth64/stk/compare/v1.0.0-pre.11...v1.0.0-pre.12
|
||||||
|
[1.0.0-pre.11]: https://github.com/anth64/stk/compare/v1.0.0-pre.10...v1.0.0-pre.11
|
||||||
[1.0.0-pre.10]: https://github.com/anth64/stk/compare/v1.0.0-pre.9...v1.0.0-pre.10
|
[1.0.0-pre.10]: https://github.com/anth64/stk/compare/v1.0.0-pre.9...v1.0.0-pre.10
|
||||||
[1.0.0-pre.9]: https://github.com/anth64/stk/compare/v1.0.0-pre.8...v1.0.0-pre.9
|
[1.0.0-pre.9]: https://github.com/anth64/stk/compare/v1.0.0-pre.8...v1.0.0-pre.9
|
||||||
[1.0.0-pre.8]: https://github.com/anth64/stk/compare/v1.0.0-pre.7...v1.0.0-pre.8
|
[1.0.0-pre.8]: https://github.com/anth64/stk/compare/v1.0.0-pre.7...v1.0.0-pre.8
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ build.bat debug release
|
|||||||
./build.sh install
|
./build.sh install
|
||||||
```
|
```
|
||||||
|
|
||||||
Installs to `/usr/local` by default. Use `PREFIX` to customize:
|
Installs to `/usr` on Linux, `/usr/local` on BSD/macOS by default. Use `PREFIX` to customize:
|
||||||
```bash
|
```bash
|
||||||
./build.sh PREFIX=$HOME/.local install
|
./build.sh PREFIX=$HOME/.local install
|
||||||
```
|
```
|
||||||
@@ -234,7 +234,7 @@ stk_init();
|
|||||||
|
|
||||||
## Project Status
|
## Project Status
|
||||||
|
|
||||||
**Current Version:** 1.0.0-pre.10
|
**Current Version:** 1.0.0-pre.12
|
||||||
|
|
||||||
### What Works
|
### What Works
|
||||||
- Cross-platform module loading and hot-reloading
|
- Cross-platform module loading and hot-reloading
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ include config.mk
|
|||||||
ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
SHELL := cmd.exe
|
SHELL := cmd.exe
|
||||||
FULL_LIB := $(LIB_NAME).dll
|
FULL_LIB := $(LIB_NAME).dll
|
||||||
STATIC_LIB := $(LIB_NAME).lib
|
STATIC_LIB := lib$(LIB_NAME).a
|
||||||
LDFLAGS_PLAT :=
|
LDFLAGS_PLAT :=
|
||||||
CFLAGS_PLAT :=
|
CFLAGS_PLAT :=
|
||||||
CFLAGS_STATIC :=
|
CFLAGS_STATIC :=
|
||||||
@@ -22,7 +22,7 @@ endif
|
|||||||
RELEASE_LDFLAGS := -s
|
RELEASE_LDFLAGS := -s
|
||||||
CFLAGS_BASE := -Wall -Wpedantic -I$(INC_DIR) -std=c89 $(CFLAGS_PLAT)
|
CFLAGS_BASE := -Wall -Wpedantic -I$(INC_DIR) -std=c89 $(CFLAGS_PLAT)
|
||||||
|
|
||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr
|
||||||
LIBDIR ?= $(PREFIX)/lib
|
LIBDIR ?= $(PREFIX)/lib
|
||||||
INCDIR ?= $(PREFIX)/include
|
INCDIR ?= $(PREFIX)/include
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -278,7 +278,7 @@ void *platform_load_library(const char *path)
|
|||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
return (void *)LoadLibraryA(path);
|
return (void *)LoadLibraryA(path);
|
||||||
#else
|
#else
|
||||||
return dlopen(path, RTLD_NOW);
|
return dlopen(path, RTLD_NOW | RTLD_GLOBAL);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user