Skip to content
Snippets Groups Projects
Commit 938a3912 authored by Eric Müller's avatar Eric Müller :mountain_bicyclist:
Browse files

Fixup 724d9c (Fix hxtorch)

Get rid of fxdiv, too…
parent 3842c05e
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ class Hxtorch(WafPackage):
for dep in self.spec.traverse(deptype='build'):
query = self.spec[dep.name]
try:
if dep.name == 'pthreadpool':
if dep.name in ['pthreadpool', 'fxdiv']:
print('skipping {} for headers'.format(dep.name))
for d in query.headers.directories:
if os.path.exists(d):
......@@ -76,7 +76,7 @@ class Hxtorch(WafPackage):
for dep in self.spec.traverse(deptype=('link', 'run')):
query = self.spec[dep.name]
try:
if dep.name == 'pthreadpool':
if dep.name in ['pthreadpool', 'fxdiv']:
print('skipping {} for libs'.format(dep.name))
for d in query.libs.directories:
if os.path.exists(d):
......@@ -90,7 +90,7 @@ class Hxtorch(WafPackage):
path = []
for dep in self.spec.traverse(deptype=('build', 'link', 'run')):
if dep.name == 'pthreadpool':
if dep.name in ['pthreadpool', 'fxdiv']:
print('skipping {} for bin'.format(dep.name))
continue
query = self.spec[dep.name]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment