is it possible to search for a comma using $(findstring) ? i tried escaping it with no luck :(
test:
echo $(findstring -Wl,moo,$(LDFLAGS))
which obviously behaves like:
find = -Wl
in = moo,$(LDFLAGS)
this also fails:
echo $(findstring -Wl\,moo,$(LDFLAGS))
the best i have is:
MOO = -Wl,moo
$(findstring $(MOO),$(LDFLAGS))
but i was hoping to do it in one line
-mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
