From bac1a55bcb36df264a9f274efb6db7cafde09377 Mon Sep 17 00:00:00 2001
From: John Ogness <john.ogness@linutronix.de>
Date: Thu, 19 Apr 2018 10:45:44 +0200
Subject: embedded-devel: fix command line to match example

The following slide shows hello2 using DT_RPATH, so set the output
to hello2 when compiling.

Signed-off-by: John Ogness <john.ogness@linutronix.de>
---
 application-devel/embedded-devel/pres_embedded-devel_en.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'application-devel/embedded-devel/pres_embedded-devel_en.tex')

diff --git a/application-devel/embedded-devel/pres_embedded-devel_en.tex b/application-devel/embedded-devel/pres_embedded-devel_en.tex
index 83a8926..afd91cc 100644
--- a/application-devel/embedded-devel/pres_embedded-devel_en.tex
+++ b/application-devel/embedded-devel/pres_embedded-devel_en.tex
@@ -490,7 +490,7 @@ gcc -Wl,--enable-new-dtags -Wl,-rpath,/mypath \
 The -rpath and --disable-new-dtags linker options together specify to the linker a search path to record in the executable binary. It is stored as DT\_RPATH in the ELF dynamic section.
 \begin{verbatim}
 gcc -Wl,--disable-new-dtags -Wl,-rpath,/mypath \
-    -ohello hello.c -lhello
+    -ohello2 hello.c -lhello
 \end{verbatim}
 \end{frame}
 
-- 
cgit v1.2.3

