examples/Makefile: give priority to pkg-config flags
In case CFLAGS/LDLIBS are already defined and conflicting with the pkg-config flags, give priority to the latter since they are used to detect compilation flags. This should fix for example the case where there are many different instances of a library, CFLAGS=-I/foo/include and pkg-config cflags say -I/bar/include.
Showing
Please
register
or
sign in
to comment