haampie / libtree

ldd as a tree
MIT License
2.67k stars 60 forks source link

build: Support LDFLAGS #52

Closed orbea closed 2 years ago

orbea commented 2 years ago

Allowing the user to set LDFLAGS is useful and lacking this ability even triggers some QA warnings on distros such as gentoo.

I also changed $? to $^ which explicitly contains all of the prerequisites (Excluding duplicates) and is more standard. I then removed $(LIBTREE_CFLAGS) from the linker line where it is unneeded.

haampie commented 2 years ago

Thanks!