Skip to content

Instantly share code, notes, and snippets.

@earl
Created October 13, 2010 15:11
Show Gist options
  • Save earl/d1c120789a4b7acb635d to your computer and use it in GitHub Desktop.
Save earl/d1c120789a4b7acb635d to your computer and use it in GitHub Desktop.
diff --git a/make-gcc/makefile b/make-gcc/makefile
index 3d82fa3..c49b836 100644
--- a/make-gcc/makefile
+++ b/make-gcc/makefile
@@ -13,7 +13,7 @@ T= $S/tools
CP= cp
CFLAGS= -c -O1 -fpack-struct -D_FILE_OFFSET_BITS=64 -Wno-pointer-sign -I $S/inc
-LIBS= -ldl ./libr3.so
+LIBS= -ldl -L. -Wl,-rpath=. -lr3
INCS= \
$I/reb-config.h\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment