commit b5700bfebd96c5b763a0166d6e9bc183e1afb88a
parent c09e7ccc9a9e828f9b56e08519aea0e9f4650e9a
Author: Sweets <Sweets@users.noreply.github.com>
Date: Sun, 5 Jul 2020 11:05:49 -0700
Merge pull request #9 from Ordoviz/patch-1
make: Allow passing LDFLAGS environment variable
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -11,7 +11,7 @@ LFLAGS = $(shell pkg-config --libs glib-2.0 gio-2.0)
all: $(TARGET)
$(TARGET): $(OBJ)
- $(CC) $(CFLAGS) $(IFLAGS) $(SRC) $(LFLAGS) -o $(TARGET)
+ $(CC) $(CFLAGS) $(LDFLAGS) $(IFLAGS) $(SRC) $(LFLAGS) -o $(TARGET)
install: $(TARGET)
mkdir -p $(DESTDIR)$(PREFIX)/bin