tFix linking on some systems - croptool - Image cropping tool
HTML git clone git://lumidify.org/croptool.git (fast, but not encrypted)
HTML git clone https://lumidify.org/git/croptool.git (encrypted, but very slow)
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 0f3ea36ba539469e14b443c8c6d7fe4f943b852d
DIR parent 08d5d10ac2b83f400966b63638915c202a731c25
HTML Author: lumidify <nobody@lumidify.org>
Date: Fri, 11 Mar 2022 13:45:28 +0100
Fix linking on some systems
Diffstat:
M Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/Makefile b/Makefile
t@@ -26,7 +26,7 @@ CROP_LDFLAGS = ${CFLAGS} ${DB_LDFLAGS} `pkg-config --libs x11` `imlib2-config --
all: ${BIN}
.c:
- ${CC} ${CROP_CFLAGS} ${CROP_LDFLAGS} -o $@ $<
+ ${CC} -o $@ $< ${CROP_CFLAGS} ${CROP_LDFLAGS}
install: all
mkdir -p "${DESTDIR}${PREFIX}/bin"