mirror of
https://github.com/aristocratos/btop.git
synced 2024-09-28 06:11:28 +02:00
Added support for partial static linking on OSX
This commit is contained in:
parent
d721c4b135
commit
cb6ad141eb
5
Makefile
5
Makefile
@ -42,7 +42,10 @@ ifneq ($(PLATFORM) $(ARCH),macos arm64)
|
||||
endif
|
||||
|
||||
ifeq ($(STATIC),true)
|
||||
override ADDFLAGS += -DSTATIC_BUILD -static -static-libgcc -static-libstdc++ -Wl,--fatal-warnings
|
||||
override ADDFLAGS += -static-libgcc -static-libstdc++
|
||||
ifneq ($(PLATFORM),macos)
|
||||
override ADDFLAGS += -DSTATIC_BUILD -static -Wl,--fatal-warnings
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(STRIP),true)
|
||||
|
@ -390,6 +390,8 @@ Also needs a UTF8 locale and a font that covers:
|
||||
|
||||
3. **Compile**
|
||||
|
||||
Append `STATIC=true` to `make` command for static compilation (only libgcc and libstdc++ will be static!).
|
||||
|
||||
Append `QUIET=true` for less verbose output.
|
||||
|
||||
Append `STRIP=true` to force stripping of debug symbols (adds `-s` linker flag).
|
||||
|
Loading…
Reference in New Issue
Block a user