Summary Files Commits Branches @commit @diff @stats
path: root / Makefile
diff options
context:
space:
mode:
Commit3ba43be13812acf9b8d12186d74468cd0e295b79 (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2019-05-11 07:57:07 +0200
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2019-05-11 08:01:47 +0200
Filesdcaa83a5de7b43045e91a9231786bacde2d2d539 /Makefile
goodwolf-3ba43be13812acf9b8d12186d74468cd0e295b79.tar
goodwolf-3ba43be13812acf9b8d12186d74468cd0e295b79.tar.gz
goodwolf-3ba43be13812acf9b8d12186d74468cd0e295b79.zip
Parente440a33e371d5741a3f49bc44727665adabbe023 (diff)
Add a simple way to fix the URL
It tries to load it as a file before trying a URL to avoid loading something meant as local. Closes: https://gitlab.com/lanodan/badWolf/issues/6
1 files changed, 1 insertions, 1 deletions
-rw-r--r--Makefile2
diff --git a/Makefile b/Makefile
index 74ddedd..7bd30db 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ TRANS = fr.mo
CC = cc
CFLAGS = -g -Wall -Wextra
-CDEPS = `pkg-config --cflags $(DEPS)` -DDATADIR=\"$(DATADIR)\" -DPACKAGE=\"$(PACKAGE)\"
+CDEPS = `pkg-config --cflags $(DEPS)` -DDATADIR=\"$(DATADIR)\" -DPACKAGE=\"$(PACKAGE)\" -D_DEFAULT_SOURCE
LIBS = `pkg-config --libs $(DEPS)`
all: $(OBJS) $(TRANS)