Merge pull request #601 from Ippytraxx/master

Add custom_install_dir to ld path in pkgconfig module
pull/606/head
Jussi Pakkanen 9 years ago committed by GitHub
commit 06ce41b525
  1. 1
      authors.txt
  2. 2
      mesonbuild/modules/pkgconfig.py

@ -37,3 +37,4 @@ Emmanuele Bassi
Martin Hostettler
Sam Thursfield
Noam Meltzer
Vincent Szolnoky

@ -43,6 +43,8 @@ class PkgConfigModule:
ofile.write('Libraries.private: {}\n'.format(' '.join(priv_libs)))
ofile.write('Libs: -L${libdir} ')
for l in libraries:
if l.custom_install_dir:
ofile.write('-L${prefix}/%s ' % l.custom_install_dir)
ofile.write('-l%s ' % l.name)
ofile.write('\n')
ofile.write('CFlags: ')

Loading…
Cancel
Save