]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
stop it with the system ssl for curl you pesky thing
authorBrian West <brian@freeswitch.org>
Tue, 22 Jul 2014 12:50:09 +0000 (07:50 -0500)
committerBrian West <brian@freeswitch.org>
Tue, 22 Jul 2014 12:50:09 +0000 (07:50 -0500)
build/Makefile.openbsd

index 49aa239ee4ff9f1e06ce2f7a3b72d7a863241800..3ad18426cba07c228ee03eb3de160d51a95508da 100644 (file)
@@ -56,5 +56,6 @@ curl: curl-$(CURL)/.done
 curl-$(CURL)/.done: curl-$(CURL)
 curl-$(CURL):
        (test -d $@) || (wget -4 -O $@.tar.gz $(DOWNLOAD)/$@.tar.gz && tar zxfv $@.tar.gz)
-       (cd $@ && ./configure --prefix=$(PREFIX) && make && sudo make install && touch .done)
+       (rm -rf $(PREFIX)/lib/libcurl.*)
+       (cd $@ && PKG_CONFIG_PATH=/usr/local/freeswitch/lib/pkgconfig:$PKG_CONFIG_PATH LDFLAGS='-L$(PREFIX)/lib -Wl,-rpath-link=$(PREFIX)/lib' CFLAGS='-I$(PREFIX)/include' ./configure --prefix=$(PREFIX) && make && sudo make install && touch .done)