mirror of
https://github.com/lammertb/libhttp.git
synced 2026-01-03 16:02:30 +03:00
Compile fix: Adding in -DMG_LEGACY_INTERFACE=1
The example wasn't compiling under Linux Ubuntu 14.04, since this example replied upon the legacy interface. The following compile flag was needed to build the example: -DMG_LEGACY_INTERFACE=1
This commit is contained in:
@@ -18,7 +18,7 @@ LIBS = -lpthread
|
||||
include $(TOP)/resources/Makefile.in-os
|
||||
|
||||
ifeq ($(TARGET_OS),LINUX)
|
||||
LIBS += -ldl
|
||||
LIBS += -ldl -DMG_LEGACY_INTERFACE=1
|
||||
endif
|
||||
|
||||
all: $(PROG)
|
||||
|
||||
Reference in New Issue
Block a user