refactor: hectic C: libhectic.so -> hectic.so
This commit is contained in:
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/lib $out/include $out/bin
|
mkdir -p $out/lib $out/include $out/bin
|
||||||
cp target/libhectic.a $out/lib/
|
cp target/libhectic.a $out/lib/
|
||||||
cp target/libhectic.so $out/lib/
|
cp target/hectic.so $out/lib/
|
||||||
cp hectic.h $out/include/
|
cp hectic.h $out/include/
|
||||||
|
|
||||||
# Create hectic-config script
|
# Create hectic-config script
|
||||||
|
|||||||
@@ -106,9 +106,9 @@ case "$MODE" in
|
|||||||
ar rcs target/libhectic.a target/hectic.o
|
ar rcs target/libhectic.a target/hectic.o
|
||||||
|
|
||||||
# Create shared library (.so)
|
# Create shared library (.so)
|
||||||
echo "# Creating shared library (libhectic.so)"
|
echo "# Creating shared library (hectic.so)"
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
cc -shared -o target/libhectic.so target/hectic.o
|
cc -shared -o target/hectic.so target/hectic.o
|
||||||
;;
|
;;
|
||||||
check)
|
check)
|
||||||
mkdir -p target/test
|
mkdir -p target/test
|
||||||
|
|||||||
Reference in New Issue
Block a user