<div dir="ltr">Thanks. I understand what is SHLIB_LINK from here: <a href="https://github.com/postgres/postgres/blob/master/src/Makefile.shlib#L23">https://github.com/postgres/postgres/blob/master/src/Makefile.shlib#L23</a><div><br></div><div>Do you mean to replace</div><div><br></div>SHLIB_LINK += -lrt -std=c++14 -lc++ (<<a href="https://github.com/plv8/plv8/blob/r3.1alpha/Makefile#L166" rel="noreferrer" target="_blank">https://github.com/plv8/plv8/blob/r3.1alpha/Makefile#L166</a>>)<br>with<br>SHLIB_LINK += -L/usr/local/lib/x86_64-unknown-linux<div><br></div><div><br></div><div>Also, could you please elaborate what is meant by "It might be easier to simply use libstdc++ though"</div><div><br></div><div>Thanks again!</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 13 Dec 2021 at 23:10, Raul Tambre <<a href="mailto:raul@tambre.ee">raul@tambre.ee</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">CMake would search /usr/local prefix by default, but alas plv8 seems to use <br>
Makefiles. Sticking "-L/usr/local/lib/x86_64-unknown-linux" here <br>
(<<a href="https://github.com/plv8/plv8/blob/r3.1alpha/Makefile#L166" rel="noreferrer" target="_blank">https://github.com/plv8/plv8/blob/r3.1alpha/Makefile#L166</a>>) might be <br>
sufficient. It might be easier to simply use libstdc++ though.<br>
</blockquote></div>