Added link-time and run-time library path

This commit is contained in:
Pierre Pronchery 2007-05-21 02:46:05 +00:00
parent dfac260717
commit 1e8c30bd8a
2 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ CPPFLAGS=
CFLAGSF = -W
CFLAGS = -Wall -g -O2 -ansi
LDFLAGSF= -l System -rdynamic
LDFLAGS = -L $(PREFIX)/lib -Wl,-rpath,$(PREFIX)/lib
RM = rm -f
MKDIR = mkdir -p
INSTALL = install

View File

@ -2,6 +2,7 @@ targets=Probe,DaMon
cflags_force=-W
cflags=-Wall -g -O2 -ansi
ldflags_force=-l System -l dl -rdynamic
ldflags=-L $(PREFIX)/lib -Wl,-rpath,$(PREFIX)/lib
dist=Makefile
[Probe]