mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 11:22:55 +09:00
Install dynamic libraries
git-svn-id: http://svn.opennebula.org/one/trunk@320 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
1 parent
9128a05811
commit
ce58cfa1dc
1 file changed
+5
-1
+5
-1
@@ -174,7 +174,8 @@ BIN_FILES="src/nebula/oned \
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
INCLUDE_FILES="include/OneClient.h"
|
||||
LIB_FILES="src/client/liboneapi.a"
|
||||
LIB_FILES="src/client/liboneapi.a \
|
||||
src/client/liboneapi.so"
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Ruby library files, to be installed under $LIB_LOCATION/ruby
|
||||
@@ -369,6 +370,9 @@ if [ "$UNINSTALL" = "no" ] ; then
|
||||
for d in $CHOWN_DIRS; do
|
||||
/bin/chown -R $ONEADMIN_USER:$ONEADMIN_GROUP $DESTDIR$d
|
||||
done
|
||||
# Create library links
|
||||
ln -s $LIB_LOCATION/liboneapi.so $LIB_LOCATION/liboneapi.so.1
|
||||
ln -s $LIB_LOCATION/liboneapi.so.1 $LIB_LOCATION/liboneapi.so.1.2
|
||||
else
|
||||
for d in `echo $MAKE_DIRS | awk '{for (i=NF;i>=1;i--) printf $i" "}'`; do
|
||||
rmdir $d
|
||||
|
||||
Reference in new issue
Block a user