From d3c748d055fe0edfc4e99846fd244532e7d02258 Mon Sep 17 00:00:00 2001 From: navarrop Date: Fri, 9 Apr 2010 12:03:58 +0000 Subject: [PATCH] Link to Libsimgrid.so. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7510 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- buildtools/Cmake/src/CMakeMakeExeLib.txt | 2 +- examples/ruby/MasterSlave.rb | 2 +- examples/ruby/PingPong.rb | 2 +- examples/ruby/Quicksort.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/buildtools/Cmake/src/CMakeMakeExeLib.txt b/buildtools/Cmake/src/CMakeMakeExeLib.txt index cceeba2021..3b0bcdad76 100644 --- a/buildtools/Cmake/src/CMakeMakeExeLib.txt +++ b/buildtools/Cmake/src/CMakeMakeExeLib.txt @@ -35,7 +35,7 @@ endif(pthread) if(HAVE_LUA) SET(SIMGRID_DEP "${SIMGRID_DEP} -ldl -l${liblua}") - exec_program("ln -sf ${PROJECT_DIRECTORY}/src/.libs/libsimgrid.* ${PROJECT_DIRECTORY}/examples/lua/simgrid.so" "${PROJECT_DIRECTORY}" OUTPUT_VARIABLE LIEN_OK) + exec_program("ln -sf ${PROJECT_DIRECTORY}/src/.libs/libsimgrid.so ${PROJECT_DIRECTORY}/examples/lua/libsimgrid.so" "${PROJECT_DIRECTORY}" OUTPUT_VARIABLE LIEN_OK) endif(HAVE_LUA) if(HAVE_GTNETS) diff --git a/examples/ruby/MasterSlave.rb b/examples/ruby/MasterSlave.rb index 1979be7756..c72375c904 100644 --- a/examples/ruby/MasterSlave.rb +++ b/examples/ruby/MasterSlave.rb @@ -1,4 +1,4 @@ -require 'simgrid.so' +require 'libsimgrid.so' include MSG ################################################# # Class Master diff --git a/examples/ruby/PingPong.rb b/examples/ruby/PingPong.rb index 9c3769f7e5..f0c4f1ddc9 100644 --- a/examples/ruby/PingPong.rb +++ b/examples/ruby/PingPong.rb @@ -1,4 +1,4 @@ -require 'simgrid.so' +require 'libsimgrid.so' include MSG diff --git a/examples/ruby/Quicksort.rb b/examples/ruby/Quicksort.rb index dff33532b6..c3ea74e0b9 100644 --- a/examples/ruby/Quicksort.rb +++ b/examples/ruby/Quicksort.rb @@ -1,7 +1,7 @@ # Debug it with this command: # make -C ../.. && valgrind ruby MasterSlave.rb --log=ruby.thres:debug 2>&1 | less -require 'simgrid.so' +require 'libsimgrid.so' include MSG -- 2.20.1