add openbsd compatibility patch (thanks, wbx)
SVN-Revision: 5749
This commit is contained in:
		@@ -8,6 +8,13 @@ all: lxdialog
 | 
			
		||||
CFLAGS := $(shell sh check-lxdialog.sh -ccflags)
 | 
			
		||||
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
 | 
			
		||||
 | 
			
		||||
%.o: %.c
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
# Check ncurses compatibility
 | 
			
		||||
 | 
			
		||||
# What library to link
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user