summaryrefslogtreecommitdiff
path: root/sys-fs/diskdev_cmds/files/diskdev_cmds-332.14_p1-ldflags.patch
blob: 84b9c58417f9c26f9a20670add03d8feaff34ae6 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/newfs_hfs.tproj/Makefile.lnx
+++ b/newfs_hfs.tproj/Makefile.lnx
@@ -4,7 +4,7 @@ OFILES = $(CFILES:.c=.o)
 all: newfs_hfs
 
 newfs_hfs: $(OFILES)
-	${CC} ${CFLAGS} -o newfs_hfs ${OFILES} -lcrypto
+	${CC} ${CFLAGS} -o newfs_hfs ${OFILES} ${LDFLAGS} -lcrypto
 
 clean:
 	$(RM) newfs_hfs $(OFILES)