Skip to content

Commit fd0646f

Browse files
kit-ty-kateflumf
andcommitted
Make the OpenBSD release binary fully static
Co-authored-by: bin <[email protected]>
1 parent 8d832ce commit fd0646f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

master_changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ users)
9090
## Infrastructure
9191

9292
## Release scripts
93+
* The OpenBSD binary now a full static binary [#6705 @flumf @kit-ty-kate - fix #6241]
9394

9495
## Install script
9596
* Add 2.4.1 to the install scripts [#6617 @kit-ty-kate]

release/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,13 @@ CLINKING_macos = \
6767
-lunix -lmccs_stubs -lmccs_glpk_stubs -lsha_stubs -lopam_core_stubs \
6868
-lstdc++
6969

70-
CLINKING_openbsd = $(CLINKING_macos)
7170
CLINKING_freebsd = $(CLINKING_macos)
7271
CLINKING_netbsd = $(CLINKING_macos)
7372

73+
CLINKING_openbsd = \
74+
-lunix -lmccs_stubs -lmccs_glpk_stubs -lsha_stubs -lopam_core_stubs \
75+
-lstdc++ -lc++ -lc++abi -static
76+
7477
CLINKING_windows = \
7578
-lunix -lmccs_stubs -lmccs_glpk_stubs -lsha_stubs -lopam_core_stubs \
7679
-l:libstdc++.a -l:libpthread.a \

0 commit comments

Comments
 (0)