Ignore:
Timestamp:
Feb 13, 2007, 6:14:29 AM (17 years ago)
Author:
barrand
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • snovis/trunk/obuild/sh/build_Darwin_app

    r136 r188  
    6565/bin/cp "${obuild_path_app}" "${obuild_dir_app}/Contents/MacOS/${obuild_app}"
    6666
    67 # Copy dlls in Contents/bin of the .app :
    68 cd "${obuild_dir_dll}"
     67# Copy dlls (libs) in Contents/bin (/lib) of the .app :
    6968while test $# -ge 1 ; do 
    7069  if [ -e "$1" ] ; then
    71     eval /bin/cp "\"$1\"" .
     70    name=`basename "$1"`
     71    if [ "`basename ${name} .dylib`" = "${name}" ] ; then
     72      # .bundle
     73      #echo "debug : bundle : $1"
     74      eval /bin/cp "\"$1\"" "\"${obuild_dir_dll}\""/.
     75    else
     76      # .dylib
     77      #echo "debug : dylib : $1"
     78      eval /bin/cp "\"$1\"" "\"${obuild_dir_lib}\""/.
     79    fi
    7280#  else
    7381#    echo "$1 not found."
Note: See TracChangeset for help on using the changeset viewer.