build-all: fix LIBRARY_EXT not considering macos

Led to error during OpenCOLLADA build:
```
2026-08-28 13:33:34,391 make[2]: *** No rule to make target `/Users/runner/work/IfcOpenShell/IfcOpenShell/build/Darwin/arm64/10.15/install/pcre-shared-8.41/lib/libpcre.so', needed by `lib/libOpenCOLLADABaseUtils.dylib'.  Stop.
2026-08-28 13:33:34,391 make[2]: *** Waiting for unfinished jobs....
```
This commit is contained in:
Andrej730
2026-08-28 18:42:07 +05:00
parent 565393e0ec
commit ac3ee016e7
+1 -1
View File
@@ -532,7 +532,7 @@ BUILD_STATIC = not ARGS.shared
ENABLE_FLAG = "--enable-static" if BUILD_STATIC else "--enable-shared"
DISABLE_FLAG = "--disable-shared" if BUILD_STATIC else "--disable-static"
LINK_TYPE = "static" if BUILD_STATIC else "shared"
LIBRARY_EXT = "a" if BUILD_STATIC else "so"
LIBRARY_EXT = "a" if BUILD_STATIC else ("dylib" if APPLE else "so")
PIC = "-fPIC" if BUILD_STATIC else ""
if DYNAMIC_ARGS.py_versions: