title: Escaping in rpm spec file
body: <p>I am trying to set the rpath in my spec file with a statement like</p>
  
  <pre><code>export LDFLAGS="-Wl-rpath=$ORIGIN/../lib"
  </code></pre>
  
  <p>But I can't correctly escape "$ORIGIN". I need the command to gcc to contain the string "$ORIGIN", not expand it anywhere along the line. I tried</p>
  
  <pre><code>\\\$ORIGIN
  $$ORIGIN
  \$\$ORIGIN
  \\$\\$ORIGIN
  \\\\\\$ORIGIN
  \\\\\\\\$ORIGIN
  </code></pre>
  
  <p>and a few others with no success. What's the right sequence of escape characters?</p>