Skip to content

Commit 6bcf37b

Browse files
authored
Merge pull request #8 from gkorland/patch-1 replace uname with "shell uname"
2 parents f399a92 + e0dcab4 commit 6bcf37b

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)