[Openvpn-devel,v1] CMake: drop the no-op --wrap=parse_line for test_networking

Message ID 20261130221558.27057-1-gert@greenie.muc.de
State New
Headers
Series [Openvpn-devel,v1] CMake: drop the no-op --wrap=parse_line for test_networking |

Commit Message

Gert Doering Nov. 30, 2026, 10:15 p.m. UTC
  From: Razvan Cojocaru <razvanc@mailbox.org>

test_networking defines no __wrap_parse_line() and none of its sources
call parse_line(). The autotools networking_testdriver never had the
flag.

Change-Id: Ib88cec6eb679ca56a7f72fbefebff063eaf7c83b
Signed-off-by: Razvan Cojocaru <razvanc@mailbox.org>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2368
---

This change was reviewed on Gerrit and approved by at least one
developer. I request to merge it to master.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2368
This mail reflects revision 1 of this Change.

Acked-by according to Gerrit (reflected above):
Frank Lichtenheld <frank@lichtenheld.com>
  

Patch

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c6dcf65..76d0dd8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -979,7 +979,6 @@ 
         )
 
     if (TARGET test_networking)
-        target_link_options(test_networking PRIVATE -Wl,--wrap=parse_line)
         target_compile_options(test_networking PRIVATE -UNDEBUG)
         target_link_libraries(test_networking PUBLIC ${RESOLV_LIBRARIES})
         target_sources(test_networking PRIVATE