libelf: make static lib
gentoo builds shared libs by default
This commit is contained in:
parent
90c4e42c11
commit
9b8fd39d12
|
@ -8,6 +8,6 @@ cmake_minimum_required(VERSION 3.7.2)
|
|||
|
||||
project(libelf C)
|
||||
|
||||
add_library(elf EXCLUDE_FROM_ALL src/elf.c src/elf32.c src/elf64.c)
|
||||
add_library(elf STATIC EXCLUDE_FROM_ALL src/elf.c src/elf32.c src/elf64.c)
|
||||
target_include_directories(elf PUBLIC include)
|
||||
target_link_libraries(elf)
|
||||
|
|
Loading…
Reference in New Issue