poac-dev / poac

A package manager and build system for C++
https://poac.dev
Apache License 2.0
994 stars 67 forks source link

Add linker flags in makefile #913

Closed Biswa96 closed 4 months ago

Biswa96 commented 4 months ago

Previously, linker flags were ignored.

This issue was reported by @SunPodder :heart:

ken-matsui commented 4 months ago

@Biswa96 Thank you for your work. Just to clarify, is this intended for users who may want to manually specify custom linker flags?

Biswa96 commented 4 months ago

Just to clarify, is this intended for users who may want to manually specify custom linker flags?

Yes. The issue was first seen in termux environment in Android. termux environment sets runtime path to load shared objects from a specific directory i.e. using -Wl,-rpath.