Fixed testnative on Mac OS X, which no longer ships X11 by default.

This commit is contained in:
Sam Lantinga 2013-06-02 01:08:14 -07:00
parent 658c25666a
commit a54ea6ce9f

View file

@ -150,10 +150,8 @@ testlock$(EXE): $(srcdir)/testlock.c
ifeq (@ISMACOSX@,true)
testnative$(EXE): $(srcdir)/testnative.c \
$(srcdir)/testnativecocoa.m \
$(srcdir)/testnativew32.c \
$(srcdir)/testnativex11.c
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) -L/usr/X11/lib -lX11 -framework Cocoa
$(srcdir)/testnativecocoa.m
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) -framework Cocoa
endif
ifeq (@ISWINDOWS@,true)