ee76c8745f
Io is a prototype-based programming language inspired by Smalltalk (all values are objects, all messages are dynamic), Self (prototype-based), NewtonScript (differential inheritance), Act1 (actors and futures for concurrency), LISP (code is a runtime inspectable/modifiable tree) and Lua (small, embeddable). OK sthen@
17 lines
692 B
Plaintext
17 lines
692 B
Plaintext
$OpenBSD: patch-libs_CMakeLists_txt,v 1.1.1.1 2012/12/17 23:55:28 jeremy Exp $
|
|
|
|
Force linking of binary to libpthread, so that you can use addons that
|
|
link to libpthread without LD_PRELOAD.
|
|
|
|
--- libs/CMakeLists.txt.orig Mon Dec 17 13:31:47 2012
|
|
+++ libs/CMakeLists.txt Mon Dec 17 13:31:50 2012
|
|
@@ -10,6 +10,8 @@ add_definitions("-DBUILDING_IOVMALL_DLL")
|
|
# Output our static library to the top-level _build hierarchy
|
|
set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/_build/lib)
|
|
|
|
+set(CMAKE_SHARED_LINKER_FLAGS "-lpthread ${CMAKE_SHARED_LINKER_FLAGS}")
|
|
+
|
|
# Our Io source files to be "compiled" into a C source file.
|
|
#file(GLOB IO_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/iovm/io/*.io")
|
|
set(IO_SRCS
|