Skip to content

Commit 2bfacce

Browse files
committed
Fix linker issues on macOS
1 parent 391a972 commit 2bfacce

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
@@ -19,7 +19,7 @@ ifeq ($(shell uname),Linux)
1919
FINAL_LDFLAGS += -shared -Bsymbolic -lc -ltensorflow
2020
FINAL_LDPATH += LD_LIBRARY_PATH=$(INSTALL_PATH)
2121
else
22-
FINAL_CFLAGS += -dynamic -fno-common -std=c99
22+
FINAL_CFLAGS += -dynamic -std=c99
2323
FINAL_LDFLAGS += -bundle -undefined dynamic_lookup -lc -ltensorflow
2424
FINAL_LDPATH += DYLD_LIBRARY_PATH=$(INSTALL_PATH)
2525
endif

0 commit comments

Comments
 (0)