Skip to content

Commit b87930c

Browse files
committed
Merge branch 'master' of https://github.com/lcpp-org/rustbca
2 parents c2d232a + e2402fe commit b87930c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

package.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,9 @@ class Rustbca(Package):
4545
def install(self, spec, prefix):
4646
cargo = which('cargo')
4747
cargo('build', '--release', '--lib', '--target-dir', prefix)
48+
49+
mkdirp(prefix.include)
50+
install('RustBCA.h', prefix.include)
51+
52+
mkdirp(prefix.lib)
53+
install('target/release/liblibRustBCA.so', prefix.lib)

0 commit comments

Comments
 (0)