Skip to content

Commit 4a13d0a

Browse files
committed
Makefile: use compiler instead of swipl-ld
Otherwise static compilation for libswipl becomes impossible
1 parent 7baa8bd commit 4a13d0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ testfiles := $(wildcard tests/*.plt)
2020
all: $(LIBNAME).$(LIBEXT)
2121

2222
$(LIBNAME).$(LIBEXT): src/$(LIBNAME).o
23-
swipl-ld $(LDFLAGS) -o $@ $<
23+
$(CC) $(LDFLAGS) -o $@ $<
2424

2525
%.o: %.c
2626
swipl-ld $(CFLAGS) $<

0 commit comments

Comments
 (0)