This is an automated email from the ASF dual-hosted git repository.

cmcfarlen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new a34afa931d Fix test plugin for mac build (#9967)
a34afa931d is described below

commit a34afa931d23291fc4c3ae1864b1c2f7c304a1dd
Author: Chris McFarlen <ch...@mcfarlen.us>
AuthorDate: Thu Jul 6 18:21:58 2023 -0500

    Fix test plugin for mac build (#9967)
    
    * Fix test plugin for mac build
    
    * restore target name
    
    * consolidate properties
    
    ---------
    
    Co-authored-by: Chris McFarlen <cmcfar...@apple.com>
---
 tests/gold_tests/pluginTest/TSVConnFd/CMakeLists.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/gold_tests/pluginTest/TSVConnFd/CMakeLists.txt 
b/tests/gold_tests/pluginTest/TSVConnFd/CMakeLists.txt
index 6c066fd313..13817d9175 100644
--- a/tests/gold_tests/pluginTest/TSVConnFd/CMakeLists.txt
+++ b/tests/gold_tests/pluginTest/TSVConnFd/CMakeLists.txt
@@ -15,9 +15,11 @@
 #
 #######################
 
-add_library(TSVConnFd SHARED TSVConnFd.cc)
+add_library(TSVConnFd MODULE TSVConnFd.cc)
 
 set_target_properties(TSVConnFd PROPERTIES
     LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/.libs"
     PREFIX ""
+    SUFFIX ".so"
 )
+target_link_libraries(TSVConnFd PRIVATE tscore traffic_server)

Reply via email to