toku-mac commented on PR #19037: URL: https://github.com/apache/nuttx/pull/19037#issuecomment-4623652339
In commit 88993694, I fixed a build error in sim/module. The fix keeps EXTRA_LIBS as linker input only, and adds a separate dependency list for actual files. EXTRA_LIBS may contain both real library paths and linker options such as -ltest. If the whole variable is used as a Make prerequisite, Make treats -ltest as a file target and fails with “No rule to make target '-ltest'”. The new EXTRA_LIB_DEPS filters out option-style entries and expands only existing file paths with wildcard, so the nuttx target still relinks when real extra library files change without misinterpreting linker options as build targets. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
