VAX/QVSS: Proper linking on OSX
This commit is contained in:
parent
721a16f7e9
commit
daed1e576f
2 changed files with 7 additions and 1 deletions
3
makefile
3
makefile
|
@ -318,6 +318,9 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
|
||||||
OS_CCDEFS += -DHAVE_LIBSDL -I$(dir $(call find_include,SDL/SDL))
|
OS_CCDEFS += -DHAVE_LIBSDL -I$(dir $(call find_include,SDL/SDL))
|
||||||
OS_LDFLAGS += -lSDL
|
OS_LDFLAGS += -lSDL
|
||||||
$(info using libSDL: $(call find_lib,SDL) $(call find_include,SDL/SDL))
|
$(info using libSDL: $(call find_lib,SDL) $(call find_include,SDL/SDL))
|
||||||
|
ifeq (Darwin,$(OSTYPE))
|
||||||
|
OS_LDFLAGS += -lSDLmain -lobjc -framework cocoa
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
ifneq (,$(VIDEO_USEFUL))
|
ifneq (,$(VIDEO_USEFUL))
|
||||||
|
|
3
scp.c
3
scp.c
|
@ -233,6 +233,9 @@
|
||||||
#endif
|
#endif
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
|
#if defined(HAVE_LIBSDL) && defined(USE_SIM_VIDEO) /* SDL*/
|
||||||
|
#include <SDL/SDL.h>
|
||||||
|
#endif
|
||||||
#if defined(HAVE_DLOPEN) /* Dynamic Readline support */
|
#if defined(HAVE_DLOPEN) /* Dynamic Readline support */
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue