mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-28 15:53:00 +00:00
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:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user