things
This commit is contained in:
@@ -17,7 +17,7 @@ def configure(ctx):
|
||||
ctx.run([
|
||||
ctx.source_dir / "configure",
|
||||
"--target=" + options.target_triple,
|
||||
"--prefix=" + ctx.prefix,
|
||||
"--prefix=/",
|
||||
"--with-sysroot=" + ctx.sysroot,
|
||||
"--with-build-sysroot=" + ctx.sysroot,
|
||||
"--enable-languages=c,c++,lto",
|
||||
@@ -48,7 +48,6 @@ def build(ctx):
|
||||
|
||||
def install(ctx, pkg):
|
||||
ctx.run(["make", "install-strip"], env = {"DESTDIR": pkg.dest_dir})
|
||||
# Drop libtool archives — they bake build-time paths into target programs.
|
||||
ctx.run([
|
||||
"find", pkg.dest_dir + ctx.prefix, "-name", "*.la", "-delete",
|
||||
])
|
||||
|
||||
# Drop libtool archives.
|
||||
ctx.run(["find", pkg.dest_dir, "-name", "*.la", "-delete"])
|
||||
|
||||
Reference in New Issue
Block a user