Skip to content

Instantly share code, notes, and snippets.

@aspiers
Created December 18, 2012 21:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aspiers/4332183 to your computer and use it in GitHub Desktop.
Save aspiers/4332183 to your computer and use it in GitHub Desktop.
--- m4/mp3splt.m4.orig 2012-12-18 21:13:05.124139636 +0000
+++ m4/mp3splt.m4 2012-12-18 21:24:37.783700438 +0000
@@ -20,9 +20,9 @@
if test "x$mp3splt_libraries" != "x"; then
MP3SPLT_LIBS="-L$mp3splt_libraries"
elif test "x$mp3splt_prefix" != "x"; then
- MP3SPLT_LIBS="-L$mp3splt_prefix/lib"
+ MP3SPLT_LIBS="-L$mp3splt_prefix/${libdir#$exec_prefix/}"
elif test "x$prefix" != "xNONE"; then
- MP3SPLT_LIBS="-L$prefix/lib"
+ MP3SPLT_LIBS="-L$prefix/${libdir#$exec_prefix/}"
fi
MP3SPLT_LIBS="$MP3SPLT_LIBS -lmp3splt"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment