Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build against system libquasselc. #10

Closed
wants to merge 1 commit into from

Conversation

jelmer
Copy link
Contributor

@jelmer jelmer commented Jul 6, 2014

Not sure if this is the right move for quassel-irssi at the moment, but this demonstrates that libquasselc works.

Perhaps quassel-irssi could optionally use the system libquasselc or the submodules depending on user preference; I'd like to use the system libs for the Debian package.

@jelmer jelmer closed this May 5, 2016
@jelmer jelmer deleted the system-quasselc branch May 5, 2016 00:25
TC01 added a commit to TC01/quassel-irssi that referenced this pull request Sep 10, 2016
This is an adapted version of phhusson#10,
except it uses the makefile variable SYSTEM_QUASSELC. If SYSTEM_QUASSELC
is not set, then quassel-irssi is built and linked against the bundled
(via git submodule) copy of libquasselc.

If SYSTEM_QUASSELC is set, then quassel-irssi looks for a system-wide
copy of libquasselc and attempts to link against it.

This also amends the build process slightly to respect LDFLAGS (so
we can pass -lquasselc when linking when SYSTEM_QUASSELC is set).

There is one quirk, which is that you must set SYSTEM_QUASSELC both
when building and installing.

I tested that building and loading from irssi works in both cases.
TC01 added a commit to TC01/quassel-irssi that referenced this pull request Sep 10, 2016
This is an adapted version of phhusson#10,
except it uses the makefile variable SYSTEM_QUASSELC. If SYSTEM_QUASSELC
is not set, then quassel-irssi is built and linked against the bundled
(via git submodule) copy of libquasselc.

If SYSTEM_QUASSELC is set, then quassel-irssi looks for a system-wide
copy of libquasselc and attempts to link against it.

This also amends the build process slightly to respect LDFLAGS (so
we can pass -lquasselc when linking when SYSTEM_QUASSELC is set).

There is one quirk, which is that you must set SYSTEM_QUASSELC both
when building and installing.

I tested that building and loading from irssi works in both cases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant