dependencies/base: Correctly handle includes and sources in ExternalDependency

These were being ignored before now.
pull/5178/head
Dylan Baker 6 years ago committed by Nirbheek Chauhan
parent f2d4a32370
commit f8afcd59e0
  1. 4
      mesonbuild/dependencies/base.py

@ -275,6 +275,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