dependencies/base: Correctly handle includes and sources in ExternalDependency

These were being ignored before now.
pull/5271/head
Dylan Baker 6 years ago committed by Nirbheek Chauhan
parent 63e9c76569
commit a9d5881c8a
  1. 4
      mesonbuild/dependencies/base.py

@ -278,6 +278,10 @@ class ExternalDependency(Dependency):
new.link_args = []
if not sources:
new.sources = []
if not includes:
new.include_directories = []
if not sources:
new.sources = []
return new

Loading…
Cancel
Save