Skip to content

Commit 9b63f6e

Browse files
authored
Update ctypesgen Makefile to add libclang_rt for interceptors to work
1 parent 191f39f commit 9b63f6e

File tree

1 file changed

+1
-1
lines changed
  • python/libgrass_interface_generator

1 file changed

+1
-1
lines changed

python/libgrass_interface_generator/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ ifneq ($(MINGW),)
6060
INTLLIB = -lintl-8
6161
endif
6262

63-
CTYPESGEN = ./run.py
63+
CTYPESGEN = DYLD_INSERT_LIBRARIES=/Users/runner/micromamba/envs/grass-env/lib/clang/20/lib/darwin/libclang_rt.asan_osx_dynamic.dylib ./run.py
6464
CTYPESFLAGS = --no-embed-preamble --strip-build-path "$(ARCH_DISTDIR)" \
6565
--cpp "$(CC) -E $(CPPFLAGS) $(LFS_CFLAGS) $(EXTRA_CFLAGS) $(NLS_CFLAGS) $(DEFS) $(EXTRA_INC) $(INC) -D__GLIBC_HAVE_LONG_LONG"
6666
EXTRA_CLEAN_FILES := $(wildcard ctypesgen/*.pyc) $(wildcard ctypesgen/*/*.pyc)

0 commit comments

Comments
 (0)