Also link with libX11 for Gtk+ 3

This commit is contained in:
Pierre Pronchery 2021-01-24 00:00:52 +01:00
parent 4010d3fe73
commit 63a1806f65
4 changed files with 7 additions and 7 deletions

View File

@ -6,6 +6,6 @@ libdir=${exec_prefix}/lib
Name: @PACKAGE@ Name: @PACKAGE@
Description: DeforaOS Desktop helper library Description: DeforaOS Desktop helper library
Version: @VERSION@ Version: @VERSION@
Requires: libSystem gtk+-3.0 Requires: libSystem gtk+-3.0 x11
Cflags: -I${includedir} Cflags: -I${includedir}
Libs: @RPATH@ -L${libdir} -lDesktop Libs: @RPATH@ -L${libdir} -lDesktop

View File

@ -1,8 +1,8 @@
targets=libDesktop targets=libDesktop
cppflags_force=-I ../include cppflags_force=-I ../include
cflags_force=`pkg-config --cflags libSystem gtk+-3.0` -fPIC cflags_force=`pkg-config --cflags libSystem gtk+-3.0 x11` -fPIC
cflags=-W -Wall -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector cflags=-W -Wall -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector
ldflags_force=`pkg-config --libs libSystem gtk+-3.0` ldflags_force=`pkg-config --libs libSystem gtk+-3.0 x11`
ldflags=-Wl,-z,relro -Wl,-z,now ldflags=-Wl,-z,relro -Wl,-z,now
dist=Makefile,mimehandler.h dist=Makefile,mimehandler.h
mode=gtk3-debug mode=gtk3-debug

View File

@ -2,8 +2,8 @@ targets=clint.log,fixme.log,htmllint.log,mime,mimehandler,tests.log,widget,xmlli
cppflags_force=-I ../include cppflags_force=-I ../include
cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
ldflags=-pie -Wl,-z,relro -Wl,-z,now ldflags=-pie -Wl,-z,relro -Wl,-z,now
cflags_force=`pkg-config --cflags libSystem gtk+-3.0` cflags_force=`pkg-config --cflags libSystem gtk+-3.0 x11`
ldflags_force=`pkg-config --libs libSystem gtk+-3.0` $(OBJDIR)../src/libDesktop.a ldflags_force=`pkg-config --libs libSystem gtk+-3.0 x11` $(OBJDIR)../src/libDesktop.a
dist=Makefile,applications/Root.desktop,applications/Widget.desktop,clint.sh,fixme.sh,htmllint.sh,pkgconfig.sh,tests.sh,xmllint.sh dist=Makefile,applications/Root.desktop,applications/Widget.desktop,clint.sh,fixme.sh,htmllint.sh,pkgconfig.sh,tests.sh,xmllint.sh
mode=gtk3-debug mode=gtk3-debug

View File

@ -1,8 +1,8 @@
targets=widget targets=widget
cppflags_force=-I ../include cppflags_force=-I ../include
cflags_force=`pkg-config --cflags libSystem gtk+-3.0` cflags_force=`pkg-config --cflags libSystem gtk+-3.0 x11`
cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
ldflags_force=`pkg-config --libs libSystem gtk+-3.0` -L $(OBJDIR)../src -lDesktop ldflags_force=`pkg-config --libs libSystem gtk+-3.0 x11` -L $(OBJDIR)../src -lDesktop
ldflags=-pie -Wl,-z,relro -Wl,-z,now ldflags=-pie -Wl,-z,relro -Wl,-z,now
dist=Makefile,subst.sh dist=Makefile,subst.sh
mode=gtk3-debug mode=gtk3-debug