mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-04 07:32:13 +00:00
Fixes file extension for loadable modules on OS X.
Patch by Wesley Peck! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122395 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cbf68dfbc0
commit
711042839c
@ -36,7 +36,13 @@ ${name} ignored.")
|
|||||||
add_custom_target(${name})
|
add_custom_target(${name})
|
||||||
else()
|
else()
|
||||||
llvm_process_sources( ALL_FILES ${ARGN} )
|
llvm_process_sources( ALL_FILES ${ARGN} )
|
||||||
add_library( ${name} MODULE ${ALL_FILES} )
|
if (MODULE)
|
||||||
|
set(libkind MODULE)
|
||||||
|
else()
|
||||||
|
set(libkind SHARED)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
add_library( ${name} ${libkind} ${ALL_FILES} )
|
||||||
set_target_properties( ${name} PROPERTIES PREFIX "" )
|
set_target_properties( ${name} PROPERTIES PREFIX "" )
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user