This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 142613 [details] Libraries and Options: custom path [../<subproject>] + [../../../../] I have a some project with the next structure: ├───build │ ├───<subproject1> │ │ ├───dist │ │ │ ├───Debug_x32_-_i686_generic │ │ │ │ └───MinGW_w64_-_x32-Windows │ │ │ └───Release_x32_-_i686_generic │ │ │ └───MinGW_w64_-_x32-Windows │ │ └───obj │ │ └─── -//- │ │ │ ├───<subproject2> │ │ ├─── -//- │ ├───<subproject3> │ │ ├─── -//- .......... │ └───_bin_ - <binaries of main project> │ ├───Debug_x32_-_i686_generic │ └───Release_x32_-_i686_generic │ └───<root sources> ├───<main project> ├───<subproject1> ├───<subproject2> ├───dev - <files of Netbeans> │ └───netbeans │ ├───<subproject1> │ │ └───nbproject │ │ └───private │ ├───<subproject2> │ ..... │ └───<etc> so, makefiles of subprojects contains: CND_DISTDIR=../../../build/$(PROJECTNAME)/dist CND_BUILDDIR=../../../build/$(PROJECTNAME)/obj But! main project a uses incorrect path for linker option as: [prefix as "../<subprojectname>"] + [output] and i can't change it * details: 7.4 a uses path for each added subproject from [Build -> Archiver -> Output] in the Libraries option of main project I found this settings in nbproject/configurations.xml: ... <linkerLibProjectItem> <makeArtifact PL="../<subprojectname>" CT="3" CN="Debug_x32_-_i686_generic" AC="true" BL="true" WD="../<subprojectname>" BC="${MAKE} -f Makefile CONF=Debug_x32_-_i686_generic" CC="${MAKE} -f Makefile CONF=Debug_x32_-_i686_generic clean" OP="${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/<subprojectname>.a"> </makeArtifact> </linkerLibProjectItem> ... so linker gets WD/PL + OP various... * solution: I can't change this settings with the Makefile (e.g: change variable ${CND_DISTDIR}) and i can't change settings from UI such as [Archiver -> Output] because this variable used of subprojects...i.e. either linker or compiler but i know the configurations.xml is updated only when Libraries option has changed. So now sections - "linkerLibProjectItem" has manually changed (you can see in attach). This is a working variant if a configure do not occur often enough need an additional option! =_=