Skip to content

Instantly share code, notes, and snippets.

@davidbirdsong
Created February 18, 2013 05:15
Show Gist options
  • Save davidbirdsong/4975253 to your computer and use it in GitHub Desktop.
Save davidbirdsong/4975253 to your computer and use it in GitHub Desktop.
link tokyo cabinet using relative path
CFLAGS = -I../include -Wall -Wno-cast-align -g
LIBS = -L../lib -levent -ljson -lm -lc -ltokyocabinet
LDFLAGS='-Wl,-R,$$ORIGIN/../lib/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment