Skip to content
Snippets Groups Projects
Commit c5c7a2e5 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

add openbsd compatibility patch (thanks, wbx)

SVN-Revision: 5749
parent 3310901f
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,14 @@ all: lxdialog ...@@ -7,7 +7,14 @@ all: lxdialog
# we really need to do so. (Do not call gcc as part of make mrproper) # we really need to do so. (Do not call gcc as part of make mrproper)
CFLAGS := $(shell sh check-lxdialog.sh -ccflags) CFLAGS := $(shell sh check-lxdialog.sh -ccflags)
LIBS := $(shell sh check-lxdialog.sh -ldflags gcc) LIBS := $(shell sh check-lxdialog.sh -ldflags gcc)
# workaround for OpenBSD, which does not use symlinks to libncurses.so
OS := $(shell uname -s)
ifeq ($(strip $(OS)),OpenBSD)
LIBS := -lncurses
endif
always := $(hostprogs-y) dochecklxdialog always := $(hostprogs-y) dochecklxdialog
%.o: %.c %.o: %.c
......
#!/bin/sh #!/usr/bin/env bash
# Check ncurses compatibility # Check ncurses compatibility
# What library to link # What library to link
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment