mirror of
https://github.com/uutils/coreutils
synced 2024-07-22 02:14:38 +00:00
Merge pull request #511 from ebfe/stdbuf
stdbuf: fix library output name
This commit is contained in:
commit
aae7f5775e
6
Makefile
6
Makefile
|
@ -143,16 +143,16 @@ INSTALLEES := \
|
|||
SYSTEM := $(shell uname)
|
||||
DYLIB_EXT :=
|
||||
ifeq ($(SYSTEM),Linux)
|
||||
DYLIB_EXT := .so
|
||||
DYLIB_EXT := so
|
||||
endif
|
||||
ifeq ($(SYSTEM),Darwin)
|
||||
DYLIB_EXT := .dylib
|
||||
DYLIB_EXT := dylib
|
||||
endif
|
||||
|
||||
# Libaries to install
|
||||
LIBS :=
|
||||
ifneq (,$(findstring stdbuf, $(INSTALLEES)))
|
||||
LIBS += libstdbuf$(DYLIB_EXT)
|
||||
LIBS += libstdbuf.$(DYLIB_EXT)
|
||||
endif
|
||||
|
||||
# Programs with usable tests
|
||||
|
|
Loading…
Reference in a new issue