mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-05 20:03:28 +01:00
Include std/internal in Phobos build.
Previously, std.internal.processinit was missing, leading to linker errors on OS X. All platform-specific stuff is wrapped in version() blocks, so we should be fine.
This commit is contained in:
@@ -111,7 +111,7 @@ elseif(D_VERSION EQUAL 2)
|
||||
|
||||
if(PHOBOS2_DIR)
|
||||
file(GLOB PHOBOS2_D ${PHOBOS2_DIR}/std/*.d)
|
||||
file(GLOB PHOBOS2_D_MATH ${PHOBOS2_DIR}/std/internal/math/*.d)
|
||||
file(GLOB_RECURSE PHOBOS2_D_INTERNAL ${PHOBOS2_DIR}/std/internal/*.d)
|
||||
file(GLOB PHOBOS2_D_C ${PHOBOS2_DIR}/std/c/*.d)
|
||||
if(UNIX)
|
||||
file(GLOB PHOBOS2_D_C_SYS ${PHOBOS2_DIR}/std/c/linux/*.d)
|
||||
@@ -130,7 +130,7 @@ elseif(D_VERSION EQUAL 2)
|
||||
file(GLOB PHOBOS2_D_WIN ${PHOBOS2_DIR}/std/windows/*.d)
|
||||
endif(WIN32)
|
||||
list(APPEND PHOBOS2_D
|
||||
${PHOBOS2_D_MATH}
|
||||
${PHOBOS2_D_INTERNAL}
|
||||
${PHOBOS2_D_WIN}
|
||||
${PHOBOS2_D_C}
|
||||
${PHOBOS2_D_C_SYS}
|
||||
|
||||
Reference in New Issue
Block a user