Jump to content

cgTobi

Community Newbie
  • Posts

    1
  • Joined

  • Last visited

Posts posted by cgTobi

  1. Hi all,

    I am following the progress of this project for quite a while and finally found the time to check out the sources to give it a try and build it myself.

    I just wanted to share my thoughts and findings.

    Here is the diff for libraries/spidermonkey-tip/build.sh to get update-workspaces.sh to run fine on my mac.

    I hope this will help someone else, so here it is.

    --- libraries/spidermonkey-tip/build.sh	(revision 7370)
    +++ libraries/spidermonkey-tip/build.sh (working copy)
    @@ -61,6 +61,12 @@
    DLL_EXTN=dll
    LIB_EXTN=lib
    LIB_PREFIX=
    +elif [ `uname` = "Darwin" ]
    +then
    + INCLUDE_DIR=include-unix
    + DLL_EXTN=dylib
    + LIB_EXTN=dylib
    + LIB_PREFIX=lib
    else
    INCLUDE_DIR=include-unix
    DLL_EXTN=so
    @@ -72,8 +78,8 @@
    mkdir -p ${INCLUDE_DIR}/debug/js
    mkdir -p ${INCLUDE_DIR}/release/js
    mkdir -p lib/
    -cp -uL src/build-debug/dist/include/* ${INCLUDE_DIR}/debug/js/
    -cp -uL src/build-release/dist/include/* ${INCLUDE_DIR}/release/js/
    +cp -L src/build-debug/dist/include/* ${INCLUDE_DIR}/debug/js/
    +cp -L src/build-release/dist/include/* ${INCLUDE_DIR}/release/js/
    cp -L src/build-debug/dist/lib/${LIB_PREFIX}mozjs-ps-debug.${LIB_EXTN} lib/
    cp -L src/build-release/dist/lib/${LIB_PREFIX}mozjs-ps-release.${LIB_EXTN} lib/
    cp -L src/build-debug/dist/bin/${LIB_PREFIX}mozjs-ps-debug.${DLL_EXTN} ../../binaries/system/

    Cheers,

    ToBe

×
×
  • Create New...