We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ab9aa7 commit 592ce0dCopy full SHA for 592ce0d
1 file changed
Makefile
@@ -220,8 +220,11 @@ build/%/test_cmodule.so: src/test/test_cmodule.c
220
$(_CC) -o $@ $^ -shared $(CFLAGS) $(LDFLAGS)
221
build/%/test_cmodule.dll: src/test/test_cmodule.c
222
223
+build/%/test_cmodule.dylib: LDFLAGS += -Wl,-undefined,dynamic_lookup
224
build/%/test_cmodule.dylib: src/test/test_cmodule.c
225
226
+build/osx_arm64_x86_64/test_cmodule.dylib: build/osx_x86_64/test_cmodule.dylib build/osx_arm64/test_cmodule.dylib | build/osx_arm64_x86_64
227
+ $(_LIPO) $^ -create -output $@
228
229
230
# Phony targets
0 commit comments