With the inspiration from Mr. Tushar, I finally figured out the trick: The
option should be written as "\$$ORIGIN/FMOD". Double $ is key! :-)
On Mon, Apr 15, 2019 at 11:19 PM Heng Zhou wrote:
> That way, the option passed is "\\\RIGIN/LibDir".
>
> On Mon, Apr 15,
zvsjJSLiEiTIwoRDl1P2Q=PqmyRNXjbL5jgLiDZw5sAxEK0_qhttdaMeAiUcqgtKw=
>
>
>
> On Tue, Apr 16, 2019 at 6:22 AM Heng Zhou wrote:
>
>> Hi,
>>
>> I wanna the following linker flags to be passed to the linker:
>>
>> -Wl,--enable-new-dtags,-rpath,"\$ORIGIN/LibDir
Hi,
I wanna the following linker flags to be passed to the linker:
-Wl,--enable-new-dtags,-rpath,"\$ORIGIN/LibDir"
So I type it literally in the Linker's Additional Options. But I found that
the '$' and 'O' in "\$ORIGIN/LibDir" got eaten by NetBeans, so only
"\RIGIN" appears in actual linking