Skip to content

Commit

Permalink
Sync isoworld, linux fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
peterix committed Apr 2, 2013
1 parent 3580409 commit 575b1c4
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
8 changes: 8 additions & 0 deletions package/linux/runisoworld
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh

DF_DIR=$(dirname "$0")
cd "${DF_DIR}"

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"stonesense/deplibs":"hack"

./isoworld/isoworld "$@"
11 changes: 10 additions & 1 deletion plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,16 @@ endif()

OPTION(BUILD_ISOWORLD "Build isoworld (needs a checkout first)." OFF)
if(BUILD_ISOWORLD)
add_subdirectory (isoworld)
add_subdirectory (isoworld)
IF(UNIX)
if (APPLE)
#TODO: add an OSX runner script
else()
# On linux, copy our version of the df launch script which sets LD_PRELOAD
install(PROGRAMS ${dfhack_SOURCE_DIR}/package/linux/runisoworld
DESTINATION .)
endif()
ENDIF()
endif()

OPTION(BUILD_DEV_PLUGINS "Build developer plugins." OFF)
Expand Down
2 changes: 1 addition & 1 deletion plugins/isoworld
Submodule isoworld updated from 2a409f to d9f037
2 changes: 1 addition & 1 deletion plugins/stonesense
Submodule stonesense updated from 83e2b8 to 670b4f

0 comments on commit 575b1c4

Please sign in to comment.