Hi Gyorgy Sarvari , 

w.r.t "What happens if you add "-Wl,-rpath=../${baselib} -Wl,-rpath=../../${baselib}" (or similar) to LDFLAGS?"

Added below in meta-oe/recipes-devtools/e2fsprogs-ext4sparse/e2fsprogs-ext4sparse_1.0.bb as suggested
BUILD_LDFLAGS += "-Wl,-rpath,../${baselib} -Wl,-rpath,../../${baselib}"
TARGET_LDFLAGS += "-Wl,-rpath,../${baselib} -Wl,-rpath,../../${baselib}"

Can i push the patch now in master for this functionality?
or Is there any other process / feedback that i need to work?
 
Based on additional feedback, can work on the current implementation and share the patches again 
 
Thanks,
Ashish Kumar Mishra