Skip to content

Commit 86fbe98

Browse files
committed
fix tcl/tk lib names on linux
1 parent 4a53463 commit 86fbe98

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

deps/Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -1279,7 +1279,11 @@ ifeq ($(OS), Darwin)
12791279
else
12801280
TKW_INC += -I/usr/include/tcl
12811281
endif
1282+
ifeq ($(OS), Linux)
1283+
TKW_LIB += -ltcl8.5 -ltk8.5 -L$(BUILD)/lib/
1284+
else
12821285
TKW_LIB += -ltcl -ltk -L$(BUILD)/lib/
1286+
endif
12831287

12841288
$(BUILD)/lib/libtk_wrapper.$(SHLIB_EXT): tk_wrapper.c
12851289
$(CC) $(CFLAGS) $(LDFLAGS) -O2 -shared $(fPIC) $(TKW_INC) tk_wrapper.c $(TKW_LIB) -o $(BUILD)/lib/libtk_wrapper.$(SHLIB_EXT)

0 commit comments

Comments
 (0)