[ox/std] Fix Linux build

This commit is contained in:
Gary Talent 2023-08-09 00:04:08 -05:00
parent da6eb40966
commit 987cd34df0

View File

@ -47,6 +47,11 @@ if(NOT MSVC)
if(${OX_LINUX}) if(${OX_LINUX})
target_compile_options(OxStd PUBLIC -export-dynamic) target_compile_options(OxStd PUBLIC -export-dynamic)
#target_link_options(OxStd PUBLIC -W1,-E) #target_link_options(OxStd PUBLIC -W1,-E)
elseif(${OX_FREEBSD})
target_link_libraries(
OxStd PUBLIC
execinfo
)
endif() endif()
endif() endif()
@ -74,7 +79,6 @@ endif()
target_link_libraries( target_link_libraries(
OxStd PUBLIC OxStd PUBLIC
$<$<CXX_COMPILER_ID:GNU>:gcc> $<$<CXX_COMPILER_ID:GNU>:gcc>
$<$<BOOL:${OX_FREEBSD}>:execinfo>
OxTraceHook OxTraceHook
) )