Open
Description
Describe the bug
In a normal project, you can create a symlink to a file or folder through the Eclipse UI or command line. Then when building the project, the auto-generated makefile will build the linked source files. If you then enable Build Inside Docker Image, when trying to rebuild the project, the error "No rule to make target " will be thrown.
To Reproduce
Steps to reproduce the behavior:
- Create a new, c++ managed build project. Give the project any name and keep hitting next leaving the default options selected then hit finish.
- Create a helloworld.cpp source file. Confirm it builds.
- Move the file to a location outside the project directory.
- Create a symlink to the file within the project directory.
- Refresh Eclipse to confirm the files is there.
- Rebuild and confirm build is successful.
- Go to project properties->C/C++ Build->Settings->Container Settings and check Build inside Docker Image and select a docker image then hit apply and close.
- Try building again. It will fail with no rule to make target helloworld.o
Expected behavior
It should compile the source file.
Desktop (please complete the following information):
- OS: RHEL 7.9
- Version: 2022 12 R