Skip to content

Commit

Permalink
install shared lib to lib dir (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
joelberkeley authored Jun 3, 2023
1 parent 76e37cb commit 6c54ca8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions c-ffi.ipkg
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ readme = "README.md"
license = "Apache License, Version 2.0"

postbuild = "./postbuild.sh"
postinstall = "./postinstall.sh"
2 changes: 0 additions & 2 deletions postbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,3 @@ gcc -o libc_ffi.so -shared sizeof.o array.o
rm *.o

cd -

mv c/libc_ffi.so .
2 changes: 2 additions & 0 deletions postinstall.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mkdir lib
mv c/libc_ffi.so lib/

0 comments on commit 6c54ca8

Please sign in to comment.