mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
lang/cling: Fix build on i386
Reported by: pkg-fallout
This commit is contained in:
parent
2c0ada23f8
commit
f0d40c982e
1 changed files with 10 additions and 0 deletions
10
lang/cling/files/patch-tools_plugins_example_CMakeLists.txt
Normal file
10
lang/cling/files/patch-tools_plugins_example_CMakeLists.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- tools/plugins/example/CMakeLists.txt.orig 2024-12-10 16:14:05 UTC
|
||||
+++ tools/plugins/example/CMakeLists.txt
|
||||
@@ -16,6 +16,6 @@ elseif(NOT MSVC)
|
||||
if(APPLE)
|
||||
target_link_libraries(clingDemoPlugin PUBLIC -Wl,-w -Wl,-bind_at_load -Wl,-undefined,dynamic_lookup)
|
||||
elseif(NOT MSVC)
|
||||
- target_link_libraries(clingDemoPlugin PUBLIC -Wl,--unresolved-symbols=ignore-in-object-files)
|
||||
+ target_link_libraries(clingDemoPlugin PUBLIC -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--allow-shlib-undefined)
|
||||
endif()
|
||||
|
Loading…
Add table
Reference in a new issue