mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-29 05:17:57 +00:00
Use LFLAGS when linking test program.
This commit is contained in:
parent
c398d02cf0
commit
ad5ba2696f
@ -30,7 +30,8 @@ CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
|
||||
all: libdhcpctl.a test $(CATMANPAGES)
|
||||
|
||||
test: test.o libdhcpctl.a ../omapip/libomapi.a
|
||||
$(CC) $(DEBUG) -o test test.o libdhcpctl.a ../omapip/libomapi.a $(LIBS)
|
||||
$(CC) $(DEBUG) $(LFLAGS) -o test test.o libdhcpctl.a \
|
||||
../omapip/libomapi.a $(LIBS)
|
||||
|
||||
libdhcpctl.a: $(OBJ)
|
||||
rm -f libdhcpctl.a
|
||||
|
@ -32,7 +32,7 @@ CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
|
||||
all: libomapi.a test $(CATMANPAGES)
|
||||
|
||||
test: test.o libomapi.a
|
||||
$(CC) $(DEBUG) -o test test.o libomapi.a $(LIBS)
|
||||
$(CC) $(DEBUG) $(LFLAGS) -o test test.o libomapi.a $(LIBS)
|
||||
|
||||
libomapi.a: $(OBJ)
|
||||
rm -f libomapi.a
|
||||
|
Loading…
x
Reference in New Issue
Block a user