aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMicah Gersten <micahg@ubuntu.com>2012-06-11 15:38:20 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2012-06-11 15:38:20 -0700
commit5ccd0a7a5acc75a7f6c286875e1f0c149b8fcdb5 (patch)
tree176c7b5e9c0fd17579e6f51ce7dd4e6f1956c2f7
parent269ebc845ebc8b46ef4b0be7fa0005c7fdb95b8d (diff)
downloadsyslinux-5ccd0a7a5acc75a7f6c286875e1f0c149b8fcdb5.tar.gz
syslinux-5ccd0a7a5acc75a7f6c286875e1f0c149b8fcdb5.tar.xz
syslinux-5ccd0a7a5acc75a7f6c286875e1f0c149b8fcdb5.zip
isohybrid: Fix building with --as-needed
The library link order was wrong. This patch was picked from Ubuntu. Reported-and-tested-by: Tim Fletcher <tim@night-shade.org.uk> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r--utils/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 44cb54fb..be739935 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -51,7 +51,7 @@ isohdpfx.c: $(ISOHDPFX) isohdpfxarray.pl
$(PERL) isohdpfxarray.pl $(ISOHDPFX) > $@
isohybrid: isohybrid.o isohdpfx.o
- $(CC) $(LDFLAGS) -luuid -o $@ $^
+ $(CC) $(LDFLAGS) -o $@ $^ -luuid
gethostip: gethostip.o
$(CC) $(LDFLAGS) -o $@ $^