diff options
Diffstat (limited to 'configs/debian')
-rw-r--r-- | configs/debian | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configs/debian b/configs/debian index 79ca0a769c8..7f3023611dc 100644 --- a/configs/debian +++ b/configs/debian @@ -5,7 +5,7 @@ CONFIG_NAME = debian CC = cc CXX = c++ -DEBIAN_COMMON_CPPFLAGS = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include +DEBIAN_COMMON_CPPFLAGS = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DUSE_XSHM -DPTHREADS `pkg-config --cflags x11 xext` DEBIAN_COMMON_CFLAGS = -ansi -pedantic -Wall -fPIC -std=c99 @@ -18,5 +18,5 @@ CXXFLAGS = $(DEBIAN_COMMON_CPPFLAGS) $(DEBIAN_COMMON_CXXFLAGS) $(DEBIAN_OPT_CFLA GLW_SOURCES += GLwMDrawA.c -GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread -GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -L/usr/X11R6/lib -lXt -lX11 -lXm +GL_LIB_DEPS = `pkg-config --libs x11 xext` -lm -lpthread +GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) `pkg-config --libs x11 xt` -lXm |