Skip to content

Commit

Permalink
Try Ws2_32 library
Browse files Browse the repository at this point in the history
  • Loading branch information
tfpf committed Nov 1, 2024
1 parent 4e82653 commit b241f46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion custom-prompt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ MainZshObject = custom-zsh-prompt.o
MainZshExecutable = bin/$(MainZshObject:.o=)
GetActiveWidObjects = get_active_wid_linux.o get_active_wid_windows.o

ifneq "$(OS)" "Windows_NT"
ifeq "$(OS)" "Windows_NT"
LDLIBS += -lws2_32
else
UNAME = $(shell uname)
ifeq "$(UNAME)" "Linux"
CPPFLAGS += $(shell pkg-config --cflags glib-2.0 libnotify x11)
Expand Down

0 comments on commit b241f46

Please sign in to comment.