title: How to add libgif as a package in yocto build
body: <p>I am building yocto linux for embedded linux platform. 
  The build is successful and root file system is generated.</p>
  
  <p>however libgif.so library is missing in the root filesystem. </p>
  
  <p>I want libgif to be compiled and copied in my generated root filesystem (in /usr/lib/)</p>
  
  <p>I tried adding giflib in local.conf</p>
  
  <p><code>DISTRO_FEATURES_append = " giflib "</code></p>
  
  <p>I expect the giflib to be compiled and copied in the /usr/lib in root filesystem. but it isn't.</p>
  
  <p>If i add EXTRA_IMAGEDEPENDS += " giflib " and just build giflib with "bitbake giflib" then the giflib is compiled and generated at path </p>
  
  <p><code>Build/tmp/work/aarch64-poky-linux/giflib/5.1.4-r0/build/lib/.libs/giflib.so</code></p>