Browse Source

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
Christopher Galas 9 years ago
parent
commit
98570c0bd3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/ws_server/Makefile

+ 1 - 1
examples/ws_server/Makefile

@@ -18,7 +18,7 @@ LIBS = -lpthread
 include $(TOP)/resources/Makefile.in-os
 include $(TOP)/resources/Makefile.in-os
 
 
 ifeq ($(TARGET_OS),LINUX) 
 ifeq ($(TARGET_OS),LINUX) 
-	LIBS += -ldl
+	LIBS += -ldl  -DMG_LEGACY_INTERFACE=1
 endif
 endif
 
 
 all: $(PROG)
 all: $(PROG)