Sha256: 09f9aaa66b15f7bd0c17b8605fcd37606a20ab9dd26d1e8e8ff9b0d037f87ea1

Contents?: true

Size: 565 Bytes

Versions: 1

Compression:

Stored size: 565 Bytes

Contents

From 93a5ae2d676c5ac6aa7dc1bcf41426050c1e9fe7 Mon Sep 17 00:00:00 2001
From: Petko Bordjukov <bordjukov@gmail.com>
Date: Thu, 9 Jun 2016 01:59:08 +0300
Subject: [PATCH 5/5] Produce a static binary

---
 makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/makefile b/makefile
index 8201b3d..627da2d 100644
--- a/makefile
+++ b/makefile
@@ -15,7 +15,7 @@ $(OBJ)/%.o:$(SRC)/%.c
 	${CC} $(CFLAGS) -c $< -o $@
 
 jhead: $(objs) jhead.h
-	${CC} -o jhead $(objs) -lm
+	${CC} -o jhead $(objs) -lm -static
 
 clean:
 	rm -f $(objs) jhead
-- 
2.8.3

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
image_compressor_pack-0.1.1.rc2 ports/patches/jhead/0005-Produce-a-static-binary.patch