From e1053c88ff4002150ad634c4662532f36f51f73b Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Wed, 12 Oct 2016 14:04:54 +0200 Subject: [PATCH] Create symbolic links to cspice library --- .gitignore | 1 + cspice/buildAndInstall.sh | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 5b0142c..8b75a32 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ netcdf/tmp/ +cspice/cspice/ diff --git a/cspice/buildAndInstall.sh b/cspice/buildAndInstall.sh index 72cf908..21e07d2 100755 --- a/cspice/buildAndInstall.sh +++ b/cspice/buildAndInstall.sh @@ -9,7 +9,12 @@ cd cspice ./makeall.csh -sudo cp lib/* $INSTALL_DIR/lib/ +sudo mkdir $INSTALL_DIR/lib/cspice +sudo cp lib/* $INSTALL_DIR/lib/cspice/ +sudo ln -s $INSTALL_DIR/lib/cspice/cspice.a $INSTALL_DIR/lib/libcspice.a +sudo ln -s $INSTALL_DIR/lib/cspice/csupport.a $INSTALL_DIR/lib/libcsupport.a + sudo cp exe/* $INSTALL_DIR/bin/ + sudo mkdir $INSTALL_DIR/include/cspice sudo cp include/* $INSTALL_DIR/include/cspice/ -- libgit2 0.21.2