Add unconditionally -rdynamic and -ldl to CFLAGS.
This commit is contained in:
parent
80665f9931
commit
b49d497bfb
@ -14,8 +14,9 @@ DEP_STATIC = ../lib/libnode.a
|
|||||||
DEP_DYNAMIC = ../lib/libnode.so
|
DEP_DYNAMIC = ../lib/libnode.so
|
||||||
INCLUDE = -I . -I ../include
|
INCLUDE = -I . -I ../include
|
||||||
LIBDIR = -L . -L ../lib
|
LIBDIR = -L . -L ../lib
|
||||||
LIB_STATIC = ../lib/libnode.a
|
LIB_STATIC = ../lib/libnode.a -ldl
|
||||||
LIB_DYNAMIC = -lnode
|
LIB_DYNAMIC = -lnode -ldl
|
||||||
|
CFLAGS = -rdynamic
|
||||||
|
|
||||||
ifdef _LIBVER_SUPPORT
|
ifdef _LIBVER_SUPPORT
|
||||||
DEP_STATIC += ../../libver/ver.h ../../libver/libver.a
|
DEP_STATIC += ../../libver/ver.h ../../libver/libver.a
|
||||||
@ -27,11 +28,11 @@ ifdef _LIBVER_SUPPORT
|
|||||||
LIB_STATIC += ../../libver/lib/libver.a
|
LIB_STATIC += ../../libver/lib/libver.a
|
||||||
LIB_DYNAMIC += -lver
|
LIB_DYNAMIC += -lver
|
||||||
else
|
else
|
||||||
LIB_STATIC += -ldl ../../libver/lib/libver.a
|
LIB_STATIC += ../../libver/lib/libver.a
|
||||||
LIB_DYNAMIC += -ldl -lver
|
LIB_DYNAMIC += -lver
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS += -D_LIBVER_SUPPORT -rdynamic
|
CFLAGS += -D_LIBVER_SUPPORT
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ND_CHECK_FLAGS = -DND_MODE=0
|
ND_CHECK_FLAGS = -DND_MODE=0
|
||||||
|
@ -15,8 +15,9 @@ DEP_STATIC = ../lib/libnode.a
|
|||||||
DEP_DYNAMIC = ../lib/libnode.so
|
DEP_DYNAMIC = ../lib/libnode.so
|
||||||
INCLUDE = -I . -I ../include
|
INCLUDE = -I . -I ../include
|
||||||
LIBDIR = -L . -L ../lib
|
LIBDIR = -L . -L ../lib
|
||||||
LIB_STATIC = ../lib/libnode.a
|
LIB_STATIC = ../lib/libnode.a -ldl
|
||||||
LIB_DYNAMIC = -lnode
|
LIB_DYNAMIC = -lnode -ldl
|
||||||
|
CFLAGS = -rdynamic
|
||||||
|
|
||||||
ifdef _LIBVER_SUPPORT
|
ifdef _LIBVER_SUPPORT
|
||||||
DEP_STATIC += ../../libver/ver.h ../../libver/libver.a
|
DEP_STATIC += ../../libver/ver.h ../../libver/libver.a
|
||||||
@ -28,11 +29,11 @@ ifdef _LIBVER_SUPPORT
|
|||||||
LIB_STATIC += ../../libver/lib/libver.a
|
LIB_STATIC += ../../libver/lib/libver.a
|
||||||
LIB_DYNAMIC += -lver
|
LIB_DYNAMIC += -lver
|
||||||
else
|
else
|
||||||
LIB_STATIC += -ldl ../../libver/lib/libver.a
|
LIB_STATIC += ../../libver/lib/libver.a
|
||||||
LIB_DYNAMIC += -ldl -lver
|
LIB_DYNAMIC += -lver
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS += -D_LIBVER_SUPPORT -rdynamic
|
CFLAGS += -D_LIBVER_SUPPORT
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ND_CHECK_FLAGS = -DND_MODE=0
|
ND_CHECK_FLAGS = -DND_MODE=0
|
||||||
|
Loading…
Reference in New Issue
Block a user