summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2020-05-01 16:18:09 +0800
committerliuxueli <[email protected]>2020-05-01 16:18:09 +0800
commit1e14cf83ca7fe9fccba544a95a2eb8e5608be750 (patch)
tree135de0457f7cca8e9dccb548da2f8feebb2922e9 /src
parent5b6d67901e0cad2f7223a231be57fe4b256f43ed (diff)
支持上传yum源(https://repo.geedge.net/pulp/content/7/x86_64/stable/tsg/)
rpm中增加changelog信息
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt4
-rw-r--r--src/fw_dns_plug.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5304d76..6d90e4b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -14,6 +14,6 @@ add_library(fw_dns_plug SHARED ${SRC})
target_link_libraries(fw_dns_plug ${FW_DNS_PLUG_DEPEND_DYN_LIB})
set_target_properties(fw_dns_plug PROPERTIES PREFIX "")
-install(TARGETS fw_dns_plug DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/business/fw_dns_plug)
-install(FILES ../bin/fw_dns_plug.inf DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/business/fw_dns_plug)
+install(TARGETS fw_dns_plug LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/business/fw_dns_plug COMPONENT LIBRARY)
+install(FILES ../bin/fw_dns_plug.inf DESTINATION ${CMAKE_INSTALL_PREFIX}/plug/business/fw_dns_plug COMPONENT PROFILE)
diff --git a/src/fw_dns_plug.cpp b/src/fw_dns_plug.cpp
index 3811e97..2f51776 100644
--- a/src/fw_dns_plug.cpp
+++ b/src/fw_dns_plug.cpp
@@ -480,7 +480,7 @@ extern "C" int FW_DNS_PLUG_INIT(void)
}
-extern "C" void FW_DNS_PLUG_DESTORY(void)
+extern "C" void FW_DNS_PLUG_DESTROY(void)
{
return ;
}