File: ldflags.patch

package info (click to toggle)
sng 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 372 kB
  • sloc: ansic: 2,776; makefile: 87; sh: 77
file content (15 lines) | stat: -rw-r--r-- 336 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Reiner Herrmann <reiner@reiner-h.de>
Description: extend LDFLAGS instead of setting them
 this allows the build system to set its own flags

--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,7 @@
 # CFLAGS += -ftest-coverage -fprofile-arcs
 CFLAGS += $(EXTRA_CFLAGS)
 
-LDFLAGS= -lpng
+LDFLAGS += -lpng
 
 OBJS= main.o sngc.o sngd.o