Also link tests with -ldl if necessary
This commit is contained in:
parent
221ed78b1d
commit
af29cdf957
|
@ -1,7 +1,7 @@
|
|||
targets=array,buffer,clint.log,config,coverage.log,error,event,fixme.log,includes,parser,pylint.log,string,variable,tests.log
|
||||
cppflags_force=-I ../include
|
||||
cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
|
||||
ldflags_force=-L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src -lSystem
|
||||
ldflags_force=-L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src -lSystem `../tools/platform.sh -O DESTDIR="$(DESTDIR)" -l dl`
|
||||
ldflags=-pie -Wl,-z,relro -Wl,-z,now
|
||||
dist=Makefile,clint.sh,config.conf,config-empty.conf,config-noeol.conf,coverage.sh,fixme.sh,pkgconfig.sh,pylint.sh,python.sh,tests.sh
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user