WIP: make packages.py work moar

This commit is contained in:
InsanePrawn 2021-10-22 17:22:41 +02:00
parent 3a9deb2340
commit bc8904c1f1
3 changed files with 21 additions and 17 deletions

View file

@ -172,7 +172,7 @@ SRCEXT='.src.tar.gz'
#PACMAN_AUTH=()
'''
if cross:
chroot = chroot.lstrip('/')
chroot = chroot.strip('/')
includes = f'-I/usr/{hostspec}/usr/include -I/{chroot}/usr/include'
libs = f'-L/usr/{hostspec}/lib -L/{chroot}/usr/lib'
conf += f'''