Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
dflags -fPIC でコンパイルされたコードを含むライブラリがあります。ライブラリは静的なものですが、(c++) 共有ライブラリにリンクされています。したがって、-fPIC フラグが必要です。dflags を dub.json に追加できますが、依存関係を別のライブラリに追加すると、依存関係は -fPIC なしでコンパイルされます。-fPIC フラグを他のライブラリに渡すことは可能ですか?