Re: [Anjuta-list] -ldl Makefile setting Question

JD Dubchak wrote:


I'm trying to compile a target that requires an -ldl compiler flag at compile time. Where would I put that? That is, which file (Makefile,, does it go into?

Settings > Compiler & Linker > Libraries, just add dl library (it's in list)

If you really want edit manually Makefiles, you always must edit
because is created from and Makefile created from In, add -ldl to LDADD flags. You also have to go in
Project Settings to tell Anjuta tou don't want it create/write from
src dir.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]