Changeset b2b7f52


Ignore:
Timestamp:
2013-03-01T10:28:44Z (8 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
ed3ff43
Parents:
36f6ab3
Message:

#978 fix Mac build of the Skype plugin

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r36f6ab3 rb2b7f52  
    170170$(SKYPE_PI): $(_SRCDIR_)protocols/skype/skype.c
    171171        @echo '*' Building plugin skype
    172         @$(CC) $(CFLAGS) -fPIC -shared $< -o $@
     172        @$(CC) $(CFLAGS) $(SKYPEFLAGS) $< -o $@
    173173
    174174$(objects): %.o: $(_SRCDIR_)%.c
  • configure

    r36f6ab3 rb2b7f52  
    548548
    549549if [ "$skype" = "1" -o "$skype" = "plugin" ]; then
     550        if [ "$arch" = "Darwin" ]; then
     551                echo "SKYPEFLAGS=-dynamiclib -undefined dynamic_lookup" >> Makefile.settings
     552        else
     553                echo "SKYPEFLAGS=-fPIC -shared" >> Makefile.settings
     554        fi
    550555        echo 'SKYPE_PI=skype.so' >> Makefile.settings
    551556        protocols_mods="$protocol_mods skype(plugin)"
Note: See TracChangeset for help on using the changeset viewer.