diff options
Diffstat (limited to 'Makefile.flags')
-rw-r--r-- | Makefile.flags | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.flags b/Makefile.flags index e314802..6fa7e75 100644 --- a/Makefile.flags +++ b/Makefile.flags @@ -11,6 +11,7 @@ CPPFLAGS += $(call cc-option,-std=gnu99,) CPPFLAGS += \ -Iinclude -Ilibbb \ + -Ilibevent-2.0.20-stable/include \ $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include -I$(srctree)/libbb) \ -include include/autoconf.h \ -D_GNU_SOURCE -DNDEBUG \ @@ -99,6 +100,10 @@ ifeq ($(CONFIG_DMALLOC),y) LDLIBS += dmalloc endif +LDLIBS += event + +LDFLAGS += -Llibevent-2.0.20-stable/.libs -Wl,-rpath,/usr/local/atlas/lib -Wl,-rpath,/home/atlas/busybox-1.13.3/libevent-2.0.20-stable/.libs + # If a flat binary should be built, CFLAGS_busybox="-Wl,-elf2flt" # env var should be set for make invocation. # Here we check whether CFLAGS_busybox indeed contains that flag. |