commit de866fb6e0585fd09c7c09f180491e102130a7d4
parent a39d16d44ef362969bb68cd79a555c3c692abf62
Author: cfillion <cfillion@users.noreply.github.com>
Date: Mon, 27 Feb 2017 16:36:35 -0500
make the linux build file able to compile C source (for the archiving feature)
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/linux.tup b/linux.tup
@@ -1,5 +1,5 @@
ifeq (@(ARCH),x86_64)
- CXX := c++
+ CXX := gcc
else
CXX := echo 'Unsupported architecture: @(ARCH)' && false
endif
@@ -20,7 +20,7 @@ WDLFLAGS := -std=c++98 -w
SWELL := $(WDL)/swell
WDLSOURCE += $(SWELL)/swell-modstub-generic.cpp
-LDFLAGS := -lpthread -ldl -lcurl -lsqlite3
+LDFLAGS := -lstdc++ -lpthread -ldl -lcurl -lsqlite3
SOFLAGS := -shared
SOTARGET := bin/$(REAPACK_FILE)