We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef48966 commit 9a4b718Copy full SHA for 9a4b718
Makefile
@@ -234,6 +234,10 @@ install: $(PLUGIN_DSO) gcc-with-$(PLUGIN_NAME).1.gz
234
cp -a gccutils $(DESTDIR)$(GCCPLUGINS_DIR)/$(PLUGIN_DIR)
235
cp -a libcpychecker $(DESTDIR)$(GCCPLUGINS_DIR)/$(PLUGIN_DIR)
236
237
+ # add python dir to python search path
238
+ mkdir -p $(shell $(PYTHON) -m site --user-site)
239
+ echo "$(DESTDIR)$(GCCPLUGINS_DIR)/$(PLUGIN_DIR)" > $(shell $(PYTHON) -m site --user-site)/gcc-python-plugin.pth
240
+
241
# Create "gcc-with-" support script:
242
mkdir -p $(DESTDIR)$(bindir)
243
install -m 755 gcc-with-python $(DESTDIR)/$(bindir)/gcc-with-$(PLUGIN_NAME)
0 commit comments