Skip to content

Commit 4022d48

Browse files
authored
replace uname with "shell uname"
1 parent 049f00b commit 4022d48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ TS_OBJ = redistf.o
1414
INCLUDE_FLAGS=-I $(DEPS_PATH)/redis/src -I $(DEPS_PATH)/libtensorflow/include
1515
LDPATH_FLAGS=-L $(DEPS_PATH)/libtensorflow/lib
1616

17-
ifeq ($(uname),Linux)
17+
ifeq ($(shell uname),Linux)
1818
FINAL_CFLAGS += -fPIC -std=gnu99
1919
FINAL_LDFLAGS += -shared -Bsymbolic -lc -ltensorflow
2020
FINAL_LDPATH += LD_LIBRARY_PATH=$(INSTALL_PATH)

0 commit comments

Comments
 (0)