Skip to content

Commit c639679

Browse files
committed
The C-ext preprocessor is not needed for built-in C extensions
1 parent af36a87 commit c639679

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/c/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ SPAWN_HELPER := spawn-helper/spawn-helper
2626
RUBY_HEADERS := $(wildcard $(ROOT)/lib/cext/include/*.h) $(wildcard $(ROOT)/lib/cext/include/*/*.h) $(wildcard $(ROOT)/lib/cext/include/*/*/*.h)
2727
RBCONFIG := $(ROOT)/lib/truffle/rbconfig.rb
2828
RBCONFIG_MKMF := $(ROOT)/lib/truffle/rbconfig-for-mkmf.rb
29-
PREPROCESS := $(ROOT)/lib/cext/preprocess.rb
3029
MKMF := $(ROOT)/lib/mri/mkmf.rb
31-
BASIC_EXTCONF_DEPS := $(SPAWN_HELPER) $(TRUFFLE_POSIX) $(RUBY_HEADERS) $(RBCONFIG) $(RBCONFIG_MKMF) $(PREPROCESS) $(MKMF)
30+
BASIC_EXTCONF_DEPS := $(SPAWN_HELPER) $(TRUFFLE_POSIX) $(RUBY_HEADERS) $(RBCONFIG) $(RBCONFIG_MKMF) $(MKMF)
3231
# These libraries are needed for try_link() in extconf.rb
3332
EXTCONF_DEPS := $(BASIC_EXTCONF_DEPS) cext/libtruffleruby.$(DLEXT)
3433

0 commit comments

Comments
 (0)