add LIBDIR to the linker flags for olsrd
authorBernd Petrovitsch <bernd@firmix.at>
Mon, 5 May 2008 09:09:39 +0000 (11:09 +0200)
committerBernd Petrovitsch <bernd@firmix.at>
Mon, 5 May 2008 09:09:39 +0000 (11:09 +0200)
Makefile.inc

index f387340..3f59450 100644 (file)
@@ -128,6 +128,7 @@ LDFLAGS +=  -Wl,--version-script=version-script.txt
 else
 # c and ld flags for main
 LDFLAGS +=     -Wl,-export-dynamic 
+LDFLAGS +=     -Wl,-rpath,$(LIBDIR)
 endif
 # LDFLAGS for all 
 LDFLAGS +=     -Wl,--warn-common