Sha256: 54279d1da1cbff103179d32147066133532bcedbc64469a0a7cab146c5884802

Contents?: true

Size: 565 Bytes

Versions: 4

Compression:

Stored size: 565 Bytes

Contents

From 548385f303ef319fca7ad714793bb5c0ac81abaa 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

4 entries across 4 versions & 1 rubygems

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