Build *shared* libs

This commit is contained in:
Tobe O 2019-08-16 10:45:53 -04:00
parent f40c50e0b3
commit 11042a45db
4 changed files with 4 additions and 2 deletions

View file

@ -7,4 +7,6 @@ include_directories(libinjection/src)
add_subdirectory(libinjection/src)
add_dart_native_extension(angel_security_native lib/src/native/angel_security.c)
target_link_libraries(angel_security_native injection)
install(TARGETS angel_security_native injection LIBRARY DESTINATION "${CMAKE_CURRENT_LIST_DIR}/lib/src")
install(TARGETS angel_security_native injection
ARCHIVE DESTINATION "${CMAKE_CURRENT_LIST_DIR}/lib/src"
LIBRARY DESTINATION "${CMAKE_CURRENT_LIST_DIR}/lib/src")

Binary file not shown.

BIN
lib/src/libinjection.dylib Executable file

Binary file not shown.

View file

@ -1,3 +1,3 @@
add_library(injection
add_library(injection SHARED
libinjection.h libinjection_sqli.h libinjection_sqli_data.h
libinjection_sqli.c)