Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Commit

Permalink
Fix out-of-tree build error
Browse files Browse the repository at this point in the history
Conflicts:

	src/gui/Makefile.am
  • Loading branch information
thynson committed Apr 4, 2012
1 parent 3073051 commit 158f9ac
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions src/gui/Makefile.am
Expand Up @@ -2,7 +2,7 @@ SUBDIRS=test

AM_CFLAGS=-I$(srcdir)/../libqq/\
-I$(srcdir)/../comm/\
-I$(srcdir)/.\
-I$(srcdir)\
$(GTK_CFLAGS)\
$(SQLITE3_CFLAGS)\
$(GSTREAMER_CFLAGS)\
Expand All @@ -14,7 +14,7 @@ AM_CFLAGS=-I$(srcdir)/../libqq/\
-Wall -Werror

bin_PROGRAMS=gtkqq
gtkqq_LDADD = $(GTK_LIBS) $(GSTREAMER_LIBS) $(GSTINTERFACES_LIBS) ${srcdir}/../libqq/libwebqq.la $(SQLITE3_LIBS) $(LIBNOTIFY_LIBS)
gtkqq_LDADD = $(GTK_LIBS) $(GSTREAMER_LIBS) $(GSTINTERFACES_LIBS) ../../libqq/libwebqq.la $(SQLITE3_LIBS) $(LIBNOTIFY_LIBS)

This comment has been minimized.

Copy link
@cuihaoleo

cuihaoleo Apr 6, 2012

../../libqq/libwebqq.la 是不是多了两点?

This comment has been minimized.

Copy link
@thynson

thynson Apr 6, 2012

Author Contributor

好像是的,好像是我rebase的时候解决冲突出错了,不好意思。

This comment has been minimized.

Copy link
@thynson

thynson Apr 6, 2012

Author Contributor

已经修复了,如果急需的话,在我的仓库build-fix分支

This comment has been minimized.

Copy link
@shwangdev

shwangdev Apr 8, 2012

Collaborator

以后还能code review了再提push request?

This comment has been minimized.

Copy link
@thynson

thynson Apr 9, 2012

Author Contributor

我一定尽量,这个实在不好意思

gtkqq_SOURCES=main.c \
msgloop.c msgloop.h\
dao.c dao.h\
Expand All @@ -30,8 +30,8 @@ gtkqq_SOURCES=main.c \
loginpanel.c loginpanel.h \
mainpanel.h mainpanel.c\
mainwindow.h mainwindow.c \
${srcdir}/../comm/log.c\
${srcdir}/../comm/cprint.c\
$(srcdir)/../comm/log.c\
$(srcdir)/../comm/cprint.c\
splashpanel.h splashpanel.c\
gqqconfig.h gqqconfig.c\
statusbutton.h statusbutton.c\
Expand Down
18 changes: 9 additions & 9 deletions src/test/Makefile.am
@@ -1,27 +1,27 @@
AM_CFLAGS=-I${srcdir}/../libqq/
AM_CFLAGS=-I${srcdir}/../libqq/
AM_CFLAGS+=-I${srcdir}/../comm/
AM_CFLAGS+=-I${srcdir}/../gui/
AM_CFLAGS+=${GLIB_CFLAGS} -DGTKQQ_DEBUG -Wall -Werror

noinst_PROGRAMS=testhttp testjson testcprint testlog testurl testpro testproxy

testhttp_SOURCES= testhttp.c
testhttp_LDADD=${srcdir}/../libqq/libwebqq.la $(GLIB_LIBS)
testhttp_LDADD=../libqq/libwebqq.la $(GLIB_LIBS)

testjson_SOURCES= testjson.c ${srcdir}/../libqq/json.c ${srcdir}/../libqq/json.h
testjson_LDADD=$(GLIB_LIBS)

testcprint_SOURCES= ${srcdir}/../comm/cprint.c testcprint.c
testcprint_LDADD=${srcdir}/../libqq/libwebqq.la $(GLIB_LIBS)
testcprint_SOURCES= ${srcdir}/../comm/cprint.c testcprint.c
testcprint_LDADD=../libqq/libwebqq.la $(GLIB_LIBS)

testlog_SOURCES= ${srcdir}/../comm/cprint.c ${srcdir}/../comm/log.c testlog.c
testlog_LDADD=${srcdir}/../libqq/libwebqq.la $(GLIB_LIBS)
testlog_LDADD=../libqq/libwebqq.la $(GLIB_LIBS)

testurl_SOURCES= ${srcdir}/../comm/log.c testurl.c ${srcdir}/../comm/cprint.c
testurl_LDADD=${srcdir}/../libqq/libwebqq.la $(GLIB_LIBS)
testurl_SOURCES= ${srcdir}/../comm/log.c testurl.c ${srcdir}/../comm/cprint.c
testurl_LDADD=../libqq/libwebqq.la $(GLIB_LIBS)

testpro_SOURCES= ${srcdir}/../comm/cprint.c testpro.c ${srcdir}/../comm/log.c
testpro_LDADD=${srcdir}/../libqq/libwebqq.la $(GLIB_LIBS)
testpro_LDADD=../libqq/libwebqq.la $(GLIB_LIBS)

testproxy_SOURCES=testproxy.c
testproxy_LDADD=${srcdir}/../libqq/libwebqq.la $(GLIB_LIBS)
testproxy_LDADD=../libqq/libwebqq.la $(GLIB_LIBS)

1 comment on commit 158f9ac

@mathslinux
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

直接把 patch 提交到邮件列表上, 这样大家都可以 code review.

Please sign in to comment.